reverted sorting back to one liner
This commit is contained in:
parent
8c48248a72
commit
3a4d1e07b7
@ -1,7 +1,7 @@
|
|||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
compass (0.12.0.alpha.0.0984b48)
|
compass (0.12.0.alpha.0.8c48248)
|
||||||
chunky_png (~> 1.2)
|
chunky_png (~> 1.2)
|
||||||
fssm (>= 0.2.7)
|
fssm (>= 0.2.7)
|
||||||
sass (~> 3.1)
|
sass (~> 3.1)
|
||||||
|
@ -16,7 +16,7 @@ module Compass
|
|||||||
calculate_horizontal_positions
|
calculate_horizontal_positions
|
||||||
calculate_width
|
calculate_width
|
||||||
else
|
else
|
||||||
@images.sort! {|a,b| b.size <=> b.size} #put small images first
|
@images.sort! {|a,b| b.size <=> a.size}
|
||||||
calculate_width
|
calculate_width
|
||||||
calulate_vertical_postions
|
calulate_vertical_postions
|
||||||
calculate_height
|
calculate_height
|
||||||
|
Loading…
Reference in New Issue
Block a user