Permalink
Browse files

Building height is optimised for screen height

  • Loading branch information...
1 parent 327f617 commit cde1e5054f51465622f9bba0410996290d4c7223 @dhotson dhotson committed Jan 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 asc.rb
View
2 asc.rb
@@ -277,7 +277,7 @@ def initialize x, y, width, background
def move_left distance
@x -= distance
end
- def height; 35 end
+ def height; SCREEN_HEIGHT - @y end
def pixel x, y, rx, ry, ticks
if ry == 0
if rx == width - 1

0 comments on commit cde1e50

Please sign in to comment.