about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-07-25 15:25:22 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-07-25 15:25:22 -0700
commit6c6a7aab07940ceed1fdbc3d4a98fe93e39e6580 (patch)
tree45a074b20fa4b9b6e4c6afc9a7495773fa974e9a
parentfe8e4fd9da3d7070dc445c562516cda2511ce94d (diff)
downloadtext.love-6c6a7aab07940ceed1fdbc3d4a98fe93e39e6580.tar.gz
move
-rw-r--r--main.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.lua b/main.lua
index 91cb08f..8d34a42 100644
--- a/main.lua
+++ b/main.lua
@@ -16,10 +16,11 @@ Editor_state = {}
 function App.initialize_globals()
   -- tests currently mostly clear their own state
 
-  -- resize
-  Last_resize_time = App.getTime()
   -- blinking cursor
   Cursor_time = 0
+
+  -- for hysteresis
+  Last_resize_time = App.getTime()
 end
 
 -- called only for real run