From e1a49c216ebc29a0c09c439a08cc6551cddbdea8 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 30 Jun 2022 21:56:21 -0700 Subject: stop blanking screen while resizing --- main.lua | 9 --------- 1 file changed, 9 deletions(-) (limited to 'main.lua') 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 -- cgit 1.4.1-2-gfad0