about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-30 21:56:21 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-30 21:56:21 -0700
commite1a49c216ebc29a0c09c439a08cc6551cddbdea8 (patch)
treeb916489137b27584696102e71e32d9e7033ff1da /main.lua
parent8c7bea8f7615f34425742381aea21cd4991f97da (diff)
downloadview.love-e1a49c216ebc29a0c09c439a08cc6551cddbdea8.tar.gz
stop blanking screen while resizing
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua9
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