diff options
Diffstat (limited to 'drawing.lua')
-rw-r--r-- | drawing.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drawing.lua b/drawing.lua index be4952e..7047893 100644 --- a/drawing.lua +++ b/drawing.lua @@ -177,6 +177,7 @@ end function Drawing.in_drawing(drawing, x,y) + if drawing.y == nil then return false end -- outside current page return y >= drawing.y and y < drawing.y + Drawing.pixels(drawing.h) and x >= 16 and x < 16+Drawing_width end |