diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-30 21:56:21 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-30 21:56:21 -0700 |
commit | e1a49c216ebc29a0c09c439a08cc6551cddbdea8 (patch) | |
tree | b916489137b27584696102e71e32d9e7033ff1da | |
parent | 8c7bea8f7615f34425742381aea21cd4991f97da (diff) | |
download | text.love-e1a49c216ebc29a0c09c439a08cc6551cddbdea8.tar.gz |
stop blanking screen while resizing
-rw-r--r-- | main.lua | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/main.lua b/main.lua index 39c7283..6611e2b 100644 --- a/main.lua +++ b/main.lua @@ -207,15 +207,6 @@ function App.draw() love.graphics.rectangle('fill', 0, 0, App.screen.width-1, App.screen.height-1) love.graphics.setColor(0, 0, 0) - -- some hysteresis while resizing - if Last_resize_time then - if App.getTime() - Last_resize_time < 0.1 then - return - else - Last_resize_time = nil - end - end - assert(Text.le1(Screen_top1, Cursor1)) Cursor_y = -1 local y = Margin_top |