diff --git a/ui (gen4)/features/ui-single-image.js b/ui (gen4)/features/ui-single-image.js index 57e7fdb8..976fcf83 100755 --- a/ui (gen4)/features/ui-single-image.js +++ b/ui (gen4)/features/ui-single-image.js @@ -112,6 +112,8 @@ var SingleImageActions = actions.Actions({ 'ribbon-focus-mode': 'order', 'shifts-affect-direction': 'off', }, + + 'single-image-toggle-on-click': true, }, // XXX make this accept args for debuging... @@ -432,6 +434,7 @@ module.SingleImageView = core.ImageGridFeatures.Feature({ ['imageBlockClick.pre', function(gid){ if(gid == this.current + && this.config['single-image-toggle-on-click'] && this.toggleSingleImage('?') == 'off'){ // indicate that we have handled the click... this.__clicked_block = true @@ -445,6 +448,7 @@ module.SingleImageView = core.ImageGridFeatures.Feature({ ['imageClick.pre', function(gid){ gid == this.current + && this.config['single-image-toggle-on-click'] && this.toggleSingleImage('?') == 'on' // only handle the click if it was not handled in // imageBlockClick... diff --git a/ui (gen4)/features/ui-slideshow.js b/ui (gen4)/features/ui-slideshow.js index 2ab402f6..f2070bba 100755 --- a/ui (gen4)/features/ui-slideshow.js +++ b/ui (gen4)/features/ui-slideshow.js @@ -179,6 +179,9 @@ var SlideshowActions = actions.Actions({ this.loadWorkspace('slideshow') } + // XXX + this.config['single-image-toggle-on-click'] = false + // start the timer... this.__slideshouw_timer = setInterval(function(){ var cur = that.current diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index b1acd637..38bb14e3 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -1378,7 +1378,7 @@ var ButtonsActions = actions.Actions({ 'main-buttons': { '☰': ['menu', 'browseActions -- Action menu...'], 'C': ['crop', 'browseActions: "Crop/" -- Crop menu...'], - '⛶': ['view', 'toggleSingleImage -- Single image / ribbon toggle'], + //'⛶': ['view', 'toggleSingleImage -- Single image / ribbon toggle'], }, // XXX not sure about these yet...