simplify hysteresis logic

[?]
Jul 25, 2022, 10:23 PM
DJGC4ZEFQZAAKF3YWQKHMHAP2KANFVQ2H7KWAC4PU3HPHP6WLSOAC

Dependencies

  • [2] 3QQZ7W4E bring couple more globals back to the app level
  • [3] LNUHQOGH start passing in Editor_state explicitly
  • [4] LF7BWEG4 group all editor globals
  • [5] KVHUFUFV reorg
  • [6] AVTNUQYR basic test-enabled framework
  • [7] UHB4GARJ left/right margin -> left/right coordinates
  • [8] AD34IX2Z couple more tests
  • [9] 2L5MEZV3 experiment: new edit namespace
  • [*] OTIBCAUJ love2d scaffold

Change contents

  • replacement in main.lua at line 20
    [2.49][2.49:75]()
    Last_resize_time = nil
    [2.49]
    [2.75]
    Last_resize_time = App.getTime()
  • replacement in main.lua at line 143
    [2.184][2.184:321]()
    if Last_resize_time then
    if App.getTime() - Last_resize_time < 0.1 then
    return
    else
    Last_resize_time = nil
    end
    [2.184]
    [2.321]
    if App.getTime() < Last_resize_time + 0.1 then
    return