mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-30 10:50:08 +00:00 
			
		
		
		
	minor tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									f54d8aadc4
								
							
						
					
					
						commit
						ec78b20e13
					
				| @ -2638,6 +2638,9 @@ module.ImageStateIndicator = core.ImageGridFeatures.Feature({ | |||||||
| 					return | 					return | ||||||
| 				} | 				} | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 				// populate the info...
 | ||||||
|  | 
 | ||||||
| 				var img = this.images && gid in this.images && this.images[gid] | 				var img = this.images && gid in this.images && this.images[gid] | ||||||
| 
 | 
 | ||||||
| 				// gid..
 | 				// gid..
 | ||||||
| @ -2663,12 +2666,15 @@ module.ImageStateIndicator = core.ImageGridFeatures.Feature({ | |||||||
| 				var tags = this.data.getTags(gid) | 				var tags = this.data.getTags(gid) | ||||||
| 
 | 
 | ||||||
| 				// marks...
 | 				// marks...
 | ||||||
| 				// XXX change class...
 |  | ||||||
| 				global.find('.marked') | 				global.find('.marked') | ||||||
|  | 					[tags.indexOf('selected') < 0 ? 'removeClass' : 'addClass']('on') | ||||||
|  | 					// XXX STUB: add a css rule for visualising the above...
 | ||||||
| 					.css({ | 					.css({ | ||||||
| 						opacity: tags.indexOf('selected') < 0 ? '0.5' : '1', | 						opacity: tags.indexOf('selected') < 0 ? '0.5' : '1', | ||||||
| 					}) | 					}) | ||||||
| 				global.find('.bookmarked') | 				global.find('.bookmarked') | ||||||
|  | 					[tags.indexOf('bookmark') < 0 ? 'removeClass' : 'addClass']('on') | ||||||
|  | 					// XXX STUB: add a css rule for visualising the above...
 | ||||||
| 					.css({ | 					.css({ | ||||||
| 						opacity: tags.indexOf('bookmark') < 0 ? '0.5' : '1', | 						opacity: tags.indexOf('bookmark') < 0 ? '0.5' : '1', | ||||||
| 					}) | 					}) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user