lib/psd/node_group.rb in psd-1.3.0 vs lib/psd/node_group.rb in psd-1.3.2

- old
+ new

@@ -19,17 +19,17 @@ get_dimensions end # Calculated height of this folder. def rows - @right - @left + @bottom - @top end alias :height :rows # Calculated width of this folder. def cols - @bottom - @top + @right - @left end alias :width :cols # Attempt to translate this folder and all of the descendants. def translate(x=0, y=0) @@ -68,6 +68,6 @@ @top = @children.map(&:top).min || 0 @bottom = @children.map(&:bottom).max || 0 @right = @children.map(&:right).max || 0 end end -end \ No newline at end of file +end