mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	added notifications to crop manipulation, still need to think about this...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									ed90c39bb3
								
							
						
					
					
						commit
						80adc1a5a2
					
				| @ -60,8 +60,10 @@ var toggleMarkedOnlyView = createCSSClassToggler( | ||||
| 		function(action){ | ||||
| 			if(action == 'on'){ | ||||
| 				// XXX do we need to keep ribbons here???
 | ||||
| 				showStatusQ('Cropping marked images...') | ||||
| 				cropMarkedImages() | ||||
| 			} else { | ||||
| 				showStatusQ('Uncropping to all data...') | ||||
| 				showAllData() | ||||
| 			} | ||||
| 		}) | ||||
|  | ||||
| @ -186,8 +186,10 @@ var toggleSingleRibbonMode = createCSSClassToggler( | ||||
| 		}, | ||||
| 		function(action){ | ||||
| 			if(action == 'on'){ | ||||
| 				showStatusQ('Cropping current ribbon...') | ||||
| 				cropDataTo(DATA.ribbons[getRibbonIndex()].slice()) | ||||
| 			} else { | ||||
| 				showStatusQ('Uncropping to all data...') | ||||
| 				showAllData() | ||||
| 			} | ||||
| 		}) | ||||
| @ -206,6 +208,7 @@ function uncropLastState(){ | ||||
| 
 | ||||
| 	// ucrop one state...
 | ||||
| 	} else { | ||||
| 		showStatusQ('Uncropping...') | ||||
| 		uncropData() | ||||
| 	} | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user