From fd3639ecba33637befe4cca2f0cca87711576b76 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Fri, 16 Dec 2022 23:35:22 +0000 Subject: [PATCH] PixelPaint: Erase old active layer boundary when active layer changes --- Userland/Applications/PixelPaint/ImageEditor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Applications/PixelPaint/ImageEditor.cpp b/Userland/Applications/PixelPaint/ImageEditor.cpp index afcedbef02..149bed3aa7 100644 --- a/Userland/Applications/PixelPaint/ImageEditor.cpp +++ b/Userland/Applications/PixelPaint/ImageEditor.cpp @@ -497,6 +497,8 @@ void ImageEditor::set_active_layer(Layer* layer) if (on_active_layer_change) on_active_layer_change({}); } + if (m_show_active_layer_boundary) + update(); } ErrorOr ImageEditor::add_new_layer_from_selection()