* The new Command-[Shift-]'R' shortcut for rotation is annoyingly unhandy; added
'[' and ']' to rotate without having the Command key held. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33846 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1646,7 +1646,7 @@ ShowImageView::KeyDown(const char* bytes, int32 numBytes)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool shiftKeyDown = (modifiers() & B_SHIFT_KEY) > 0;
|
bool shiftKeyDown = (modifiers() & B_SHIFT_KEY) != 0;
|
||||||
|
|
||||||
switch (*bytes) {
|
switch (*bytes) {
|
||||||
case B_DOWN_ARROW:
|
case B_DOWN_ARROW:
|
||||||
@@ -1715,6 +1715,12 @@ ShowImageView::KeyDown(const char* bytes, int32 numBytes)
|
|||||||
case '-':
|
case '-':
|
||||||
ZoomOut();
|
ZoomOut();
|
||||||
break;
|
break;
|
||||||
|
case '[':
|
||||||
|
Rotate(270);
|
||||||
|
break;
|
||||||
|
case ']':
|
||||||
|
Rotate(90);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user