From 39913ddbb847ba607554da2549795fe89143307d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 22 Jun 2022 18:00:22 -0700 Subject: [PATCH] show the line width when dragging the slider --- main.lua | 4 ++++ 1 file changed, 4 insertions(+) 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