mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 19:30:07 +00:00 
			
		
		
		
	minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									82ae24741e
								
							
						
					
					
						commit
						cca24fad85
					
				| @ -44,8 +44,6 @@ | |||||||
| 
 | 
 | ||||||
| 	/* make the container expand only to a certain size, then scroll */ | 	/* make the container expand only to a certain size, then scroll */ | ||||||
| 	/* XXX need to: | 	/* XXX need to: | ||||||
| 		- auto-scroll vertically |  | ||||||
| 		- use custom scroll bars |  | ||||||
| 		- shorten path to fit width | 		- shorten path to fit width | ||||||
| 			i.e. manage width manually when at max-width... | 			i.e. manage width manually when at max-width... | ||||||
| 	*/ | 	*/ | ||||||
| @ -151,8 +149,10 @@ requirejs(['../lib/keyboard', '../object', './browse-dialog'], function(k, o, br | |||||||
| 	keyboard = k | 	keyboard = k | ||||||
| 	object = o | 	object = o | ||||||
| 
 | 
 | ||||||
|  | 	// Tree demo... | ||||||
| 	b = browser.Browser($('.container.tree'), { | 	b = browser.Browser($('.container.tree'), { | ||||||
| 			path: '/dir_a/tree/dir_c', | 			path: '/dir_a/tree/dir_c', | ||||||
|  | 
 | ||||||
| 			list: function(path, make){ | 			list: function(path, make){ | ||||||
| 				var cur = TREE | 				var cur = TREE | ||||||
| 				path.forEach(function(p){ | 				path.forEach(function(p){ | ||||||
| @ -182,9 +182,9 @@ requirejs(['../lib/keyboard', '../object', './browse-dialog'], function(k, o, br | |||||||
| 			}, | 			}, | ||||||
| 		}) | 		}) | ||||||
| 		.focus() | 		.focus() | ||||||
| 	//b.path = '/dir_a/tree/dir_c' |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | 	// Flat list demo... | ||||||
| 	f = browser.Browser($('.container.flat'), { | 	f = browser.Browser($('.container.flat'), { | ||||||
| 			data: [ | 			data: [ | ||||||
| 				'option 1', | 				'option 1', | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user