Skip to content
Browse files

Fix grid builder to properly generate png

  • Loading branch information...
1 parent 0811b3d commit eb58cdef26ea537cc65f842c7675c6575575f6c0 Joshua Clayton committed Jun 29, 2009
Showing with 4 additions and 3 deletions.
  1. +2 −1 .gitignore
  2. BIN blueprint/src/grid.png
  3. +2 −2 lib/blueprint/grid_builder.rb
View
3 .gitignore
@@ -1,4 +1,5 @@
+*.swp
*.svn
*.DS_Store
tmp/*
-lib/settings.yml
+lib/settings.yml
View
BIN blueprint/src/grid.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
4 lib/blueprint/grid_builder.rb
@@ -39,7 +39,7 @@ def generate!
canvas.background_fill = 'white'
canvas.g do |column|
- column.rect(self.column_width, height).styles(:fill => "#e8effb")
+ column.rect(self.column_width - 1, height).styles(:fill => "#e8effb")
end
canvas.g do |baseline|
@@ -51,4 +51,4 @@ def generate!
rvg.draw.write(File.join(self.output_path, "grid.png"))
end
end
-end
+end

0 comments on commit eb58cde

Please sign in to comment.
Something went wrong with that request. Please try again.