BMenu: Use shift modifier for page-wise wheel scrolling
Fixes part of #9907.
This commit is contained in:
parent
b9b1c2834c
commit
0b4c2d3210
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user