ShowImage: Scroll horizontally with control

...instead of command.

See http://www.freelists.org/post/haiku-commits/haiku-hrev46304-srckitsinterface,18
This commit is contained in:
John Scipione 2014-03-07 18:22:24 -05:00
parent a6213356bc
commit 0a2382e373

View File

@ -1362,7 +1362,7 @@ ShowImageView::_MouseWheelChanged(BMessage* message)
if ((modifiers() & B_SHIFT_KEY) != 0) {
// scroll up and down
_ScrollRestrictedBy(x, y);
} else if ((modifiers() & B_COMMAND_KEY) != 0) {
} else if ((modifiers() & B_CONTROL_KEY) != 0) {
// scroll left and right
_ScrollRestrictedBy(y, x);
} else {