* 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:
Axel Dörfler
2009-10-30 15:52:07 +00:00
parent fac8f83095
commit 1adcc57859
+7 -1
View File
@@ -1646,7 +1646,7 @@ ShowImageView::KeyDown(const char* bytes, int32 numBytes)
return;
}
bool shiftKeyDown = (modifiers() & B_SHIFT_KEY) > 0;
bool shiftKeyDown = (modifiers() & B_SHIFT_KEY) != 0;
switch (*bytes) {
case B_DOWN_ARROW:
@@ -1715,6 +1715,12 @@ ShowImageView::KeyDown(const char* bytes, int32 numBytes)
case '-':
ZoomOut();
break;
case '[':
Rotate(270);
break;
case ']':
Rotate(90);
break;
}
}