mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	minor cleanup and tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									52d9564345
								
							
						
					
					
						commit
						7076cd035a
					
				| @ -72,6 +72,7 @@ | ||||
| 	transition: left 0.2s ease-out; | ||||
| } | ||||
| 
 | ||||
| /* XXX should this be !important */ | ||||
| .no-transitions { | ||||
| 	-webkit-transition: none; | ||||
| 	-moz-transition: none; | ||||
| @ -81,7 +82,8 @@ | ||||
| } | ||||
| 
 | ||||
| /* XXX think of a way not to use !important */ | ||||
| .viewer.single-image-mode .ribbon { | ||||
| .single-image-mode .ribbon, | ||||
| .single-image-mode .ribbon-set { | ||||
| 	-webkit-transition: none !important; | ||||
| 	-moz-transition: none !important; | ||||
| 	-ms-transition: none !important; | ||||
|  | ||||
| @ -1307,7 +1307,9 @@ module.ShiftAnimation = Feature({ | ||||
| 		['shiftImageUp.pre shiftImageDown.pre',  | ||||
| 			function(target){ | ||||
| 				// XXX do not do target lists...
 | ||||
| 				if(target != null && target.constructor === Array){ | ||||
| 				if(target != null && target.constructor === Array  | ||||
| 						// do not animate in single image mode...
 | ||||
| 						&& this.toggleSingleImage('?') == 'on'){ | ||||
| 					return | ||||
| 				} | ||||
| 				var s = this.ribbons.makeShadow(target, true) | ||||
| @ -1318,7 +1320,9 @@ module.ShiftAnimation = Feature({ | ||||
| 		['shiftImageLeft.pre shiftImageRight.pre',  | ||||
| 			function(target){ | ||||
| 				// XXX do not do target lists...
 | ||||
| 				if(target != null && target.constructor === Array){ | ||||
| 				if(target != null && target.constructor === Array | ||||
| 						// do not animate in single image mode...
 | ||||
| 						&& this.toggleSingleImage('?') == 'on'){ | ||||
| 					return | ||||
| 				} | ||||
| 				var s = this.ribbons.makeShadow(target) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user