mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-11-04 13:20:10 +00:00 
			
		
		
		
	fixed context on return from marked only mode...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									94e6027986
								
							
						
					
					
						commit
						0a1988a31e
					
				@ -52,7 +52,11 @@ function loadMarkedOnlyData(cmp, no_cleanout_marks){
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// XXX name this in a better way...
 | 
					// XXX name this in a better way...
 | 
				
			||||||
function loadAllImages(){
 | 
					function loadAllImages(){
 | 
				
			||||||
 | 
						var cur = DATA.current
 | 
				
			||||||
	DATA = ALL_DATA
 | 
						DATA = ALL_DATA
 | 
				
			||||||
 | 
						// NOTE: if we do not do this the user will lose context every time
 | 
				
			||||||
 | 
						// 		returning from marks only view...
 | 
				
			||||||
 | 
						DATA.current = cur
 | 
				
			||||||
	reloadViewer()
 | 
						reloadViewer()
 | 
				
			||||||
	return DATA
 | 
						return DATA
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -246,6 +250,7 @@ function shiftMarkedImagesDown(mode, new_ribbon){
 | 
				
			|||||||
// XXX these are ribbon wise only (???)
 | 
					// XXX these are ribbon wise only (???)
 | 
				
			||||||
// XXX this on first step this must pack all marked images
 | 
					// XXX this on first step this must pack all marked images
 | 
				
			||||||
function horizontalShiftMarkedImages(direction){
 | 
					function horizontalShiftMarkedImages(direction){
 | 
				
			||||||
 | 
						// XXX
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
function shiftMarkedImagesLeft(){
 | 
					function shiftMarkedImagesLeft(){
 | 
				
			||||||
	return shiftMarkedImages('prev')
 | 
						return shiftMarkedImages('prev')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user