mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 18:17:23 +00:00
PixelPaint: Erase old active layer boundary when active layer changes
This commit is contained in:
parent
60c9e3bfc6
commit
fd3639ecba
Notes:
sideshowbarker
2024-07-17 17:38:29 +09:00
Author: https://github.com/tcl3
Commit: fd3639ecba
Pull-request: https://github.com/SerenityOS/serenity/pull/16542
1 changed files with 2 additions and 0 deletions
|
@ -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<void> ImageEditor::add_new_layer_from_selection()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue