mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	minor fixes and tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									12c5ac8693
								
							
						
					
					
						commit
						2b239c6dc3
					
				| @ -727,6 +727,8 @@ stretching in width... */ | |||||||
| 	text-align: center; | 	text-align: center; | ||||||
| 	text-overflow: ellipsis; | 	text-overflow: ellipsis; | ||||||
| 	/*font-size: 2vh;*/ | 	/*font-size: 2vh;*/ | ||||||
|  | 
 | ||||||
|  | 	pointer-events: none; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .crisp-resize .image { | .crisp-resize .image { | ||||||
|  | |||||||
| @ -1429,8 +1429,10 @@ var ControlActions = actions.Actions({ | |||||||
| 					// 		us...
 | 					// 		us...
 | ||||||
| 					// 		XXX not fully sure if the reason here is
 | 					// 		XXX not fully sure if the reason here is
 | ||||||
| 					// 			correct, but the thing works...
 | 					// 			correct, but the thing works...
 | ||||||
| 					var w = img.attr('preview-width') | 					// NOTE: preview-width/preview-height can be unset 
 | ||||||
| 					var h = img.attr('preview-height') | 					// 		for blank image blocks or virtual images...
 | ||||||
|  | 					var w = img.attr('preview-width') || W | ||||||
|  | 					var h = img.attr('preview-height') || H | ||||||
| 
 | 
 | ||||||
| 					// normalize preview size to image block size...
 | 					// normalize preview size to image block size...
 | ||||||
| 					var s = Math.min(W/w, H/h) | 					var s = Math.min(W/w, H/h) | ||||||
|  | |||||||
| @ -27,6 +27,7 @@ var VirtualImagesActions = actions.Actions({ | |||||||
| 	// 
 | 	// 
 | ||||||
| 	// XXX do better arg processing -- handle metadata correctly...
 | 	// XXX do better arg processing -- handle metadata correctly...
 | ||||||
| 	// XXX add export support for this type of stuff...
 | 	// XXX add export support for this type of stuff...
 | ||||||
|  | 	// 		text -> file.txt
 | ||||||
| 	// XXX add default named templates...
 | 	// XXX add default named templates...
 | ||||||
| 	// XXX add svg templates???
 | 	// XXX add svg templates???
 | ||||||
| 	makeVirtualBlock: ['- Virtual/', | 	makeVirtualBlock: ['- Virtual/', | ||||||
| @ -92,10 +93,6 @@ var VirtualImagesActions = actions.Actions({ | |||||||
| 				text: text || '', | 				text: text || '', | ||||||
| 			}) }], | 			}) }], | ||||||
| 
 | 
 | ||||||
| 	// XXX virtual block editor UI...
 |  | ||||||
| 	// XXX
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 	// XXX export...
 | 	// XXX export...
 | ||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
| @ -119,11 +116,13 @@ module.VirtualImages = core.ImageGridFeatures.Feature({ | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| //---------------------------------------------------------------------
 | //---------------------------------------------------------------------
 | ||||||
| 
 | 
 | ||||||
| var VirtualImagesUIActions = actions.Actions({ | var VirtualImagesUIActions = actions.Actions({ | ||||||
|  | 
 | ||||||
|  | 	// XXX virtual block editor UI...
 | ||||||
| 	// XXX
 | 	// XXX
 | ||||||
|  | 
 | ||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
| var VirtualImagesUI =  | var VirtualImagesUI =  | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user