about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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