mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	refactoring...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									0bf709fefa
								
							
						
					
					
						commit
						f84f97ab59
					
				| @ -430,6 +430,16 @@ actions.Actions({ | |||||||
| 	//
 | 	//
 | ||||||
| 	// NOTE: for all of these, current/ribbon image is a default...
 | 	// 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 to be used for things like mark/place and dragging...
 | ||||||
| 	// XXX revise...
 | 	// XXX revise...
 | ||||||
| 	shiftImageTo: ['- Edit|Sort/', | 	shiftImageTo: ['- Edit|Sort/', | ||||||
| @ -510,16 +520,6 @@ actions.Actions({ | |||||||
| 			this.focusImage() | 			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', | 	shiftRibbonUp: ['Ribbon|Edit|Sort/Shift ribbon up', | ||||||
| 		function(target){  | 		function(target){  | ||||||
| 			this.data.shiftRibbonUp(target)  | 			this.data.shiftRibbonUp(target)  | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user