mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-29 18:30:09 +00:00 
			
		
		
		
	notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									e95a8e7b61
								
							
						
					
					
						commit
						3baf918f50
					
				| @ -120,6 +120,7 @@ module.SortActions = actions.Actions({ | |||||||
| 		'name-sequence-overflow': function(){ | 		'name-sequence-overflow': function(){ | ||||||
| 			var that = this | 			var that = this | ||||||
| 
 | 
 | ||||||
|  | 			// gap and gap length...
 | ||||||
| 			var gap = -1 | 			var gap = -1 | ||||||
| 			var l = 0 | 			var l = 0 | ||||||
| 
 | 
 | ||||||
| @ -147,6 +148,7 @@ module.SortActions = actions.Actions({ | |||||||
| 				}) | 				}) | ||||||
| 
 | 
 | ||||||
| 			// rotate index blocks...
 | 			// rotate index blocks...
 | ||||||
|  | 			// XXX this does not work for lists without a gap -- one item gets pushed to the tail...
 | ||||||
| 			if(l > 0){ | 			if(l > 0){ | ||||||
| 				var tail = lst.splice(gap+1, lst.length) | 				var tail = lst.splice(gap+1, lst.length) | ||||||
| 				lst = tail.concat(lst) | 				lst = tail.concat(lst) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user