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)

-
- +
+