diff --git a/ui (gen4)/features/base.js b/ui (gen4)/features/base.js index 18241454..d08bbc77 100755 --- a/ui (gen4)/features/base.js +++ b/ui (gen4)/features/base.js @@ -430,6 +430,16 @@ actions.Actions({ // // NOTE: for all of these, current/ribbon image is a default... + // NOTE: resetting this option will clear the last direction... + toggleShiftsAffectDirection: ['Interface/Shifts affect direction', + core.makeConfigToggler('shifts-affect-direction', + ['off', 'on'], + function(action){ + if(action == 'on'){ + delete this._direction_last + } + })], + // XXX to be used for things like mark/place and dragging... // XXX revise... shiftImageTo: ['- Edit|Sort/', @@ -510,16 +520,6 @@ actions.Actions({ this.focusImage() }], - // NOTE: resetting this option will clear the last direction... - toggleShiftsAffectDirection: ['Interface/Shifts affect direction', - core.makeConfigToggler('shifts-affect-direction', - ['off', 'on'], - function(action){ - if(action == 'on'){ - delete this._direction_last - } - })], - shiftRibbonUp: ['Ribbon|Edit|Sort/Shift ribbon up', function(target){ this.data.shiftRibbonUp(target)