diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-16 00:37:38 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-16 01:11:56 +0200 |
commit | 4c186d1f44246d0be02b9ba3c14d50eb71fa3e84 (patch) | |
tree | 0988c3903f23a62c910882e6daf7bdfbdce88bd4 /Userland/Applications/PixelPaint | |
parent | 5579ec767e989aca1d9f4fda5d8f55ae2ce9ebcc (diff) | |
download | serenity-4c186d1f44246d0be02b9ba3c14d50eb71fa3e84.zip |
PixelPaint: Stop creating two blue and yellow layers on startup
This was nice for testing, but let's start the app with just a white
background layer instead. :^)
Diffstat (limited to 'Userland/Applications/PixelPaint')
-rw-r--r-- | Userland/Applications/PixelPaint/main.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Userland/Applications/PixelPaint/main.cpp b/Userland/Applications/PixelPaint/main.cpp index a440d0207f..47b174ee75 100644 --- a/Userland/Applications/PixelPaint/main.cpp +++ b/Userland/Applications/PixelPaint/main.cpp @@ -401,16 +401,6 @@ int main(int argc, char** argv) image->add_layer(*bg_layer); bg_layer->bitmap().fill(Color::White); - auto fg_layer1 = PixelPaint::Layer::create_with_size(*image, { 200, 200 }, "FG Layer 1"); - fg_layer1->set_location({ 50, 50 }); - image->add_layer(*fg_layer1); - fg_layer1->bitmap().fill(Color::Yellow); - - auto fg_layer2 = PixelPaint::Layer::create_with_size(*image, { 100, 100 }, "FG Layer 2"); - fg_layer2->set_location({ 300, 300 }); - image->add_layer(*fg_layer2); - fg_layer2->bitmap().fill(Color::Blue); - layer_list_widget.set_image(image); image_editor.set_image(image); |