From 4c186d1f44246d0be02b9ba3c14d50eb71fa3e84 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 16 May 2021 00:37:38 +0200 Subject: [PATCH] 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. :^) --- Userland/Applications/PixelPaint/main.cpp | 10 ---------- 1 file changed, 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);