diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-22 18:00:22 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-22 18:00:53 -0700 |
commit | 39913ddbb847ba607554da2549795fe89143307d (patch) | |
tree | 02fbf2e3e2a63ed22754e6b24fd280f6befa4638 | |
parent | 54eefbbf2d350d2aba8b90e6b04dcb89f3edbb26 (diff) | |
download | lines.love-39913ddbb847ba607554da2549795fe89143307d.tar.gz |
show the line width when dragging the slider
-rw-r--r-- | main.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main.lua b/main.lua index fcc65ee..60a0747 100644 --- a/main.lua +++ b/main.lua @@ -226,6 +226,10 @@ function App.draw() icon = icon.line_width, onpress1 = function() Line_width_hover = App.getTime() end, }) + if Line_width_hover then + love.graphics.setColor(0.7,0.7,0.7) + love.graphics.line(Line_width,Margin_top+2, Line_width,App.screen.height) + end assert(Text.le1(Screen_top1, Cursor1)) Cursor_y = -1 |