mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
PixelPaint: Add keyboard shortcut for Invert filter
Many of the popular photo editing applications have Ctrl+I as a shortcut to invert the colors, so let's get on board :^)
This commit is contained in:
parent
3dccafb2a0
commit
672c4cdbc2
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ void MainWidget::initialize_menubar(GUI::Window& window)
|
|||
editor->did_complete_action();
|
||||
}
|
||||
}));
|
||||
color_filters_menu.add_action(GUI::Action::create("Invert", [&](auto&) {
|
||||
color_filters_menu.add_action(GUI::Action::create("Invert", { Mod_Ctrl, Key_I }, [&](auto&) {
|
||||
auto* editor = current_image_editor();
|
||||
if (!editor)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue