From a7b557a97e29be3c0fc20aef8206878146b927db Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 7 Jun 2012 03:12:39 +0400 Subject: [PATCH] reorganized the controls slightly... Signed-off-by: Alex A. Naanou --- ui/gallery.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ui/gallery.html b/ui/gallery.html index 398c2329..f3821983 100755 --- a/ui/gallery.html +++ b/ui/gallery.html @@ -106,22 +106,22 @@ function handleKeys(event){ : (fn(code, keys.lastKeys) >= 0) ? lastImage() : (fn(code, keys.promoteKeys) >= 0) ? function(){ if(event.shiftKey){ - focusBelowRibbon() - } else if(event.ctrlKey){ - createRibbonBelow() + if(event.ctrlKey){ + createRibbonBelow() + } promoteImage() } else { - promoteImage() + focusBelowRibbon() } }() : (fn(code, keys.demoteKeys) >= 0) ? function(){ if(event.shiftKey){ - focusAboveRibbon() - } else if(event.ctrlKey){ - createRibbonAbove() + if(event.ctrlKey){ + createRibbonAbove() + } demoteImage() } else { - demoteImage() + focusAboveRibbon() } }() : (fn(code, keys.toggleRibbonView) >= 0) ? toggleRibbonView() @@ -500,14 +500,14 @@ function demoteImage(){

-
-
-NOTE: ctrl-up / ctrl-down will demote / promote an image to a new empty ribbon (default if no ribbon exists) +
+
+NOTE: ctrl-shift-up / ctrl-shift-down will demote / promote an image to a new empty ribbon (the default if no ribbon exists)

-
- +
+