Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Building height is optimised for screen height

  • Loading branch information...
commit cde1e5054f51465622f9bba0410996290d4c7223 1 parent 327f617
@dhotson dhotson authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.