Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BMenu: Use shift modifier for page-wise wheel scrolling

Fixes part of #9907.
  • Loading branch information...
commit 0b4c2d3210c59c202541bde992c52cbdb10b8db6 1 parent b9b1c28
@weinhold weinhold authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/kits/interface/Menu.cpp
View
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.