mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-30 02:40:08 +00:00 
			
		
		
		
	fixed a bug in ribbons.placeImage(..)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									9f231cb467
								
							
						
					
					
						commit
						4a18ab9ecc
					
				| @ -752,7 +752,10 @@ module.RibbonsPrototype = { | ||||
| 				.append(img) | ||||
| 		// after...
 | ||||
| 		} else if(i > 0){ | ||||
| 			to.next('.image') | ||||
| 			// XXX this stumbles on non-images...
 | ||||
| 			//to.next('.image')
 | ||||
| 			// XXX is this fast enough??
 | ||||
| 			to.nextAll('.image').first() | ||||
| 				.before(img) | ||||
| 		// before...
 | ||||
| 		} else { | ||||
|  | ||||
| @ -1192,6 +1192,7 @@ module.BoundsIndicators = Feature({ | ||||
| 				function(target){  | ||||
| 					target = target || this.current | ||||
| 					var r = this.data.getRibbonOrder(target) | ||||
| 
 | ||||
| 					var l = this.data.getImages(r).length | ||||
| 					var l0 = this.data.getImages(0).length | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user