mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	some cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									9647c0c9f5
								
							
						
					
					
						commit
						169e9a6d45
					
				| @ -56,21 +56,6 @@ var core = require('features/core') | |||||||
| //
 | //
 | ||||||
| // D) 
 | // D) 
 | ||||||
| //     image
 | //     image
 | ||||||
| //      + - - - - - - - +
 |  | ||||||
| //      .               .
 |  | ||||||
| //      +---------------+
 |  | ||||||
| //      | viewer        |   - image bigger than viewer in one dimension
 |  | ||||||
| //      |       ^       |   - block grows to fit image proportions
 |  | ||||||
| //      |       |       |   - need to account for individual image 
 |  | ||||||
| //      |       v       |     proportions
 |  | ||||||
| //      |               |   - drag enabled
 |  | ||||||
| //      +---------------+
 |  | ||||||
| //      .               .
 |  | ||||||
| //      + - - - - - - - +
 |  | ||||||
| //
 |  | ||||||
| //
 |  | ||||||
| // E) 
 |  | ||||||
| //     image
 |  | ||||||
| //    + - - - - - - - - - +
 | //    + - - - - - - - - - +
 | ||||||
| //    .                   .
 | //    .                   .
 | ||||||
| //    . +---------------+ .
 | //    . +---------------+ .
 | ||||||
| @ -88,6 +73,7 @@ var core = require('features/core') | |||||||
| // XXX .ribbons.correctImageProportionsForRotation(..) might be working 
 | // XXX .ribbons.correctImageProportionsForRotation(..) might be working 
 | ||||||
| // 		incorrectly...
 | // 		incorrectly...
 | ||||||
| // 		...when scaling a horizontal image, the thing starts jumping around....
 | // 		...when scaling a horizontal image, the thing starts jumping around....
 | ||||||
|  | // XXX alignment issues in some orientations...
 | ||||||
| function updateImageProportions(){ | function updateImageProportions(){ | ||||||
| 	var that = this | 	var that = this | ||||||
| 	var threshold = this.config['single-image-proportions-threshold'] || 2 | 	var threshold = this.config['single-image-proportions-threshold'] || 2 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user