BMenu: Use shift modifier for page-wise wheel scrolling

Fixes part of #9907.
This commit is contained in:
Ingo Weinhold 2013-10-31 21:45:43 +01:00
parent b9b1c2834c
commit 0b4c2d3210

View File

@ -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;