👮 space inside parens

This commit is contained in:
Andy Meneely
2016-03-17 23:42:09 -04:00
parent 310030eee4
commit 0f5b7d0f8e
7 changed files with 46 additions and 46 deletions
+2 -2
View File
@@ -52,8 +52,8 @@ module Squib
def grid(box, draw)
x, y, w, h = box.x, box.y, box.width, box.height
use_cairo do |cc|
(x..@width + w).step(w) { |ix| line_xy( ix, y - @height, ix, @height + y, draw) }
(y..@height + h).step(h) { |iy| line_xy( x - @width, iy, @width + x, iy, draw) }
(x..@width + w).step(w) { |ix| line_xy(ix, y - @height, ix, @height + y, draw) }
(y..@height + h).step(h) { |iy| line_xy(x - @width, iy, @width + x, iy, draw) }
end
end
+1 -1
View File
@@ -28,7 +28,7 @@ module Squib
ink_extents.height = embed_h * Pango::SCALE if ink_extents.height == 0 #JUST embed, bug #134
case valign.to_s.downcase
when 'middle'
Pango.pixels( (layout.height - ink_extents.height) / 2)
Pango.pixels((layout.height - ink_extents.height) / 2)
when 'bottom'
Pango.pixels(layout.height - ink_extents.height)
else
+1 -1
View File
@@ -33,7 +33,7 @@ module Squib
# Process the extends recursively
# :nodoc:
# @api private
def self.recurse_extends(yml, key, visited )
def self.recurse_extends(yml, key, visited)
assert_not_visited(key, visited)
return yml[key] unless has_extends?(yml, key)
return yml[key] unless parents_exist?(yml, key)