mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 07:07:34 +00:00
PixelPaint: Erase old active layer boundary when active layer changes
This commit is contained in:
parent
60c9e3bfc6
commit
fd3639ecba
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