mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +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
Notes:
sideshowbarker
2024-07-18 04:03:05 +09:00
Author: https://github.com/mustafaquraish
Commit: 672c4cdbc2
Pull-request: https://github.com/SerenityOS/serenity/pull/10012
Issue: https://github.com/SerenityOS/serenity/issues/9970
Issue: https://github.com/SerenityOS/serenity/issues/9986
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