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:
@@ -1362,7 +1362,7 @@ ShowImageView::_MouseWheelChanged(BMessage* message)
|
|||||||
if ((modifiers() & B_SHIFT_KEY) != 0) {
|
if ((modifiers() & B_SHIFT_KEY) != 0) {
|
||||||
// scroll up and down
|
// scroll up and down
|
||||||
_ScrollRestrictedBy(x, y);
|
_ScrollRestrictedBy(x, y);
|
||||||
} else if ((modifiers() & B_COMMAND_KEY) != 0) {
|
} else if ((modifiers() & B_CONTROL_KEY) != 0) {
|
||||||
// scroll left and right
|
// scroll left and right
|
||||||
_ScrollRestrictedBy(y, x);
|
_ScrollRestrictedBy(y, x);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user