mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 11:20:09 +00:00 
			
		
		
		
	added bookmarks to crop dialog...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									ee31fa70c5
								
							
						
					
					
						commit
						f4536cb584
					
				
							
								
								
									
										18
									
								
								ui/crop.js
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								ui/crop.js
									
									
									
									
									
								
							| @ -226,6 +226,8 @@ function cropImagesDialog(){ | |||||||
| 	cfg[alg] = [ | 	cfg[alg] = [ | ||||||
| 		'Marked images',  | 		'Marked images',  | ||||||
| 		'Marked images (keep ribbons)',  | 		'Marked images (keep ribbons)',  | ||||||
|  | 		'Bookmarked images',  | ||||||
|  | 		'Bookmarked images (keep ribbons)',  | ||||||
| 		'Current ribbon',  | 		'Current ribbon',  | ||||||
| 		'Current ribbon and above | Will merge the images into a single ribbon.', | 		'Current ribbon and above | Will merge the images into a single ribbon.', | ||||||
| 		'Current ribbon and above (keep ribbons)' | 		'Current ribbon and above (keep ribbons)' | ||||||
| @ -239,19 +241,25 @@ function cropImagesDialog(){ | |||||||
| 			res = res[alg] | 			res = res[alg] | ||||||
| 
 | 
 | ||||||
| 			// NOTE: these must be in order of least-specific last...
 | 			// NOTE: these must be in order of least-specific last...
 | ||||||
| 			if(/Marked.*keep ribbons/i.test(res)){ | 			if(/Marked.*keep ribbons/.test(res)){ | ||||||
| 				var method = toggleMarkedOnlyWithRibbonsView | 				var method = toggleMarkedOnlyWithRibbonsView | ||||||
| 
 | 
 | ||||||
| 			} else if(/Marked/i.test(res)){ | 			} else if(/Marked/.test(res)){ | ||||||
| 				var method = toggleMarkedOnlyView | 				var method = toggleMarkedOnlyView | ||||||
| 
 | 
 | ||||||
| 			} else if(/Current ribbon and above.*keep ribbons/i.test(res)){ | 			} else if(/Bookmarked.*keep ribbons/i.test(res)){ | ||||||
|  | 				var method = toggleBookmarkedOnlyWithRibbonsView | ||||||
|  | 
 | ||||||
|  | 			} else if(/Bookmarked/.test(res)){ | ||||||
|  | 				var method = toggleBookmarkedOnlyView | ||||||
|  | 
 | ||||||
|  | 			} else if(/Current ribbon and above.*keep ribbons/.test(res)){ | ||||||
| 				var method = toggleCurrenAndAboveRibbonsMode | 				var method = toggleCurrenAndAboveRibbonsMode | ||||||
| 
 | 
 | ||||||
| 			} else if(/Current ribbon and above/i.test(res)){ | 			} else if(/Current ribbon and above/.test(res)){ | ||||||
| 				var method = toggleCurrenAndAboveRibbonMode | 				var method = toggleCurrenAndAboveRibbonMode | ||||||
| 
 | 
 | ||||||
| 			} else if(/Current ribbon/i.test(res)){ | 			} else if(/Current ribbon/.test(res)){ | ||||||
| 				var method = toggleSingleRibbonMode | 				var method = toggleSingleRibbonMode | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user