summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-16 00:37:38 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-16 01:11:56 +0200
commit4c186d1f44246d0be02b9ba3c14d50eb71fa3e84 (patch)
tree0988c3903f23a62c910882e6daf7bdfbdce88bd4 /Userland/Applications/PixelPaint
parent5579ec767e989aca1d9f4fda5d8f55ae2ce9ebcc (diff)
downloadserenity-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.cpp10
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);