diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-30 19:50:27 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-30 19:50:27 -0700 |
commit | 8c7bea8f7615f34425742381aea21cd4991f97da (patch) | |
tree | 07edb04e1534f758199e44c9e3c5a6fbb9fefaef /help.lua | |
parent | 08a50b7fff71324897eeb31a0d323d3444ef105b (diff) | |
download | lines.love-8c7bea8f7615f34425742381aea21cd4991f97da.tar.gz |
rip out notion of Line_width
Diffstat (limited to 'help.lua')
-rw-r--r-- | help.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/help.lua b/help.lua index 18810e2..f60f9e3 100644 --- a/help.lua +++ b/help.lua @@ -46,7 +46,7 @@ function draw_help_without_mouse_pressed(drawing) love.graphics.print("Press 'esc' now to hide this message", Margin_left+30,y) y = y + Line_height love.graphics.setColor(0,0.5,0, 0.1) - love.graphics.rectangle('fill', Margin_left,drawing.y, Line_width, math.max(Drawing.pixels(drawing.h),y-drawing.y)) + love.graphics.rectangle('fill', Margin_left,drawing.y, App.screen.width, math.max(Drawing.pixels(drawing.h),y-drawing.y)) end function draw_help_with_mouse_pressed(drawing) @@ -125,7 +125,7 @@ function draw_help_with_mouse_pressed(drawing) y = y + Line_height end love.graphics.setColor(0,0.5,0, 0.1) - love.graphics.rectangle('fill', Margin_left,drawing.y, Line_width, math.max(Drawing.pixels(drawing.h),y-drawing.y)) + love.graphics.rectangle('fill', Margin_left,drawing.y, App.screen.width, math.max(Drawing.pixels(drawing.h),y-drawing.y)) end function current_shape(shape) |