diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-15 09:03:31 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-15 09:03:31 -0700 |
commit | 4280b19cacde59beae8edebb08146b16925e758a (patch) | |
tree | 90ae5d74561cdd528e2887e6b5e0e07dfbc36941 | |
parent | a40d2c424e6ca2c0e92890c0ec4a30e7fb6d1a11 (diff) | |
download | text.love-4280b19cacde59beae8edebb08146b16925e758a.tar.gz |
move current mode indicator slightly
-rw-r--r-- | drawing.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drawing.lua b/drawing.lua index a593d90..646125d 100644 --- a/drawing.lua +++ b/drawing.lua @@ -12,9 +12,9 @@ function Drawing.draw(line) love.graphics.setColor(0.75,0.75,0.75) love.graphics.rectangle('line', Margin_left,line.y, Line_width,Drawing.pixels(line.h)) if icon[Current_drawing_mode] then - icon[Current_drawing_mode](Margin_left+Line_width-20, line.y+4) + icon[Current_drawing_mode](Margin_left+Line_width-22, line.y+4) else - icon[Previous_drawing_mode](Margin_left+Line_width-20, line.y+4) + icon[Previous_drawing_mode](Margin_left+Line_width-22, line.y+4) end if App.mouse_down(1) and love.keyboard.isDown('h') then |