1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:37:43 +00:00

Base+PixelPaint: Use Merge Active Layer Up/Down Icons

The icons for these actions were added in a previous commit but never
used, now they are.
This commit is contained in:
electrikmilk 2022-02-14 23:51:05 -05:00 committed by Andreas Kling
parent 7e5b3ce26b
commit 97ce19bc68
3 changed files with 6 additions and 2 deletions

View file

@ -592,7 +592,7 @@ void MainWidget::initialize_menubar(GUI::Window& window)
}));
m_layer_menu->add_action(GUI::Action::create(
"Merge &Active Layer Up", [&](auto&) {
"Merge &Active Layer Up", g_icon_bag.merge_active_layer_up, [&](auto&) {
auto* editor = current_image_editor();
VERIFY(editor);
auto active_layer = editor->active_layer();
@ -603,7 +603,7 @@ void MainWidget::initialize_menubar(GUI::Window& window)
}));
m_layer_menu->add_action(GUI::Action::create(
"M&erge Active Layer Down", { Mod_Ctrl, Key_E }, [&](auto&) {
"M&erge Active Layer Down", { Mod_Ctrl, Key_E }, g_icon_bag.merge_active_layer_down, [&](auto&) {
auto* editor = current_image_editor();
VERIFY(editor);
auto active_layer = editor->active_layer();