Permalink
Browse files

BMenu: Use shift modifier for page-wise wheel scrolling

Fixes part of #9907.
  • Loading branch information...
1 parent b9b1c28 commit 0b4c2d3210c59c202541bde992c52cbdb10b8db6 @weinhold weinhold committed Oct 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/kits/interface/Menu.cpp
@@ -458,7 +458,7 @@ BMenu::MessageReceived(BMessage* msg)
window->GetSteps(&smallStep, &largeStep);
// pressing the option/command/control key scrolls faster
- if (modifiers() & (B_OPTION_KEY | B_COMMAND_KEY | B_CONTROL_KEY))
+ if ((modifiers() & B_SHIFT_KEY) != 0)
deltaY *= largeStep;
else
deltaY *= smallStep;

0 comments on commit 0b4c2d3

Please sign in to comment.