Author: axeld Date: 2009-10-30 16:52:07 +0100 (Fri, 30 Oct 2009) New Revision: 33846 Changeset: http://dev.haiku-os.org/changeset/33846/haiku Modified: haiku/trunk/src/apps/showimage/ShowImageView.cpp Log: * The new Command-[Shift-]'R' shortcut for rotation is annoyingly unhandy; added '[' and ']' to rotate without having the Command key held. Modified: haiku/trunk/src/apps/showimage/ShowImageView.cpp =================================================================== --- haiku/trunk/src/apps/showimage/ShowImageView.cpp 2009-10-30 14:29:09 UTC (rev 33845) +++ haiku/trunk/src/apps/showimage/ShowImageView.cpp 2009-10-30 15:52:07 UTC (rev 33846) @@ -1646,7 +1646,7 @@ 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 @@ case '-': ZoomOut(); break; + case '[': + Rotate(270); + break; + case ']': + Rotate(90); + break; } }