mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue