mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
PixelPaint: Change menu shortcut for "Fit Image to View"
This makes it consistent with `ImageViewer`, where `F` was unavailable for use as a shortcut. A small change, but it's nice having the same keyboard shortcuts where we can :^)
This commit is contained in:
parent
4556b8e943
commit
c3e4123ed7
Notes:
sideshowbarker
2024-07-17 23:02:37 +09:00
Author: https://github.com/mustafaquraish Commit: https://github.com/SerenityOS/serenity/commit/c3e4123ed7 Pull-request: https://github.com/SerenityOS/serenity/pull/12035 Reviewed-by: https://github.com/alimpfard
@ -378,7 +378,7 @@ void MainWidget::initialize_menubar(GUI::Window& window)
|
||||
m_view_menu->add_action(*m_zoom_out_action);
|
||||
m_view_menu->add_action(*m_reset_zoom_action);
|
||||
m_view_menu->add_action(GUI::Action::create(
|
||||
"&Fit Image To View", [&](auto&) {
|
||||
"Fit Image To &View", [&](auto&) {
|
||||
auto* editor = current_image_editor();
|
||||
VERIFY(editor);
|
||||
editor->fit_image_to_view();
|
||||
|
Loading…
Reference in New Issue
Block a user