Skip to content

Commit

Permalink
update zooming shortcuts #546
Browse files Browse the repository at this point in the history
number row +/- keys should now both work, as well as ctrl+ / ctrl-
  • Loading branch information
easymodo authored Jun 20, 2024
1 parent 2d42bff commit 7685c27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qimgv/components/actionmanager/actionmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ void ActionManager::initDefaults() {
actionManager->defaults.insert(InputMap::keyNameCtrl() + "+L", "rotateLeft");
actionManager->defaults.insert(InputMap::keyNameCtrl() + "+WheelUp", "zoomInCursor");
actionManager->defaults.insert(InputMap::keyNameCtrl() + "+WheelDown", "zoomOutCursor");
actionManager->defaults.insert("=", "zoomIn"); // [=+] key on the number row
actionManager->defaults.insert(InputMap::keyNameCtrl() + "=", "zoomIn");
actionManager->defaults.insert("+", "zoomIn");
actionManager->defaults.insert(InputMap::keyNameCtrl() + "+", "zoomIn");
actionManager->defaults.insert("-", "zoomOut");
actionManager->defaults.insert(InputMap::keyNameCtrl() + "-", "zoomOut");
actionManager->defaults.insert(InputMap::keyNameCtrl() + "+Down", "zoomOut");
actionManager->defaults.insert(InputMap::keyNameCtrl() + "+Up", "zoomIn");
actionManager->defaults.insert("Up", "scrollUp");
Expand Down

0 comments on commit 7685c27

Please # to comment.