mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	minor bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									56a8832876
								
							
						
					
					
						commit
						9b84b686ab
					
				| @ -246,7 +246,7 @@ module.AppControl = core.ImageGridFeatures.Feature({ | |||||||
| 
 | 
 | ||||||
| //---------------------------------------------------------------------
 | //---------------------------------------------------------------------
 | ||||||
| // Fullscreen app control buttons...
 | // Fullscreen app control buttons...
 | ||||||
| var AppControllsActions = actions.Actions({ | var AppButtonsActions = actions.Actions({ | ||||||
| 	config: { | 	config: { | ||||||
| 		'app-buttons': { | 		'app-buttons': { | ||||||
| 			// XXX not sure about this...
 | 			// XXX not sure about this...
 | ||||||
| @ -262,8 +262,8 @@ var AppControllsActions = actions.Actions({ | |||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
| var AppControlls =  | var AppButtons =  | ||||||
| module.AppControlls = core.ImageGridFeatures.Feature({ | module.AppButtons = core.ImageGridFeatures.Feature({ | ||||||
| 	title: '', | 	title: '', | ||||||
| 	doc: '', | 	doc: '', | ||||||
| 
 | 
 | ||||||
| @ -277,13 +277,15 @@ module.AppControlls = core.ImageGridFeatures.Feature({ | |||||||
| 		'ui-status-bar', | 		'ui-status-bar', | ||||||
| 	], | 	], | ||||||
| 
 | 
 | ||||||
| 	actions: AppControllsActions, | 	actions: AppButtonsActions, | ||||||
| 
 | 
 | ||||||
| 	handlers: [ | 	handlers: [ | ||||||
| 		['start.pre toggleFullScreen',  | 		['start.pre',  | ||||||
| 			function(){ | 			function(){ | ||||||
| 				this.toggleAppButtons('on') | 				this.toggleAppButtons('on') | ||||||
| 
 | 			}], | ||||||
|  | 		['start toggleFullScreen',  | ||||||
|  | 			function(){ | ||||||
| 				var fullscreen = this.toggleFullScreen('?') | 				var fullscreen = this.toggleFullScreen('?') | ||||||
| 				var buttons = this.ribbons.viewer.find('.app-buttons') | 				var buttons = this.ribbons.viewer.find('.app-buttons') | ||||||
| 				 | 				 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user