more defensive resize handling
[?]
Jun 8, 2022, 4:51 AM
K464QQR4FTXFUMHFWAGOD5DJ6YHUBUKRHLXF2ORE74DVT7TVQ35QCDependencies
- [2]
NP7PIUBTbugfix: restore state after C-f (find) - [3]
RF5ALVNYallow the window to be resized - [4]
AJB4LFRBtry to maintain a reasonable line width - [*]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [*]
BYG5CEMVsupport for naming points - [*]
OTIBCAUJlove2d scaffold - [*]
73OCE2MCafter much struggle, a brute-force undo - [*]
DHCLUDCW. - [*]
AVTNUQYRbasic test-enabled framework - [*]
RT6EV6OPdelegate update events to drawings
Change contents
- edit in manual_tests at line 38[7.128]
resize:create a file containing a long line of characters without spaces. tryresizing the window vertically and horizontally, as far as possible. - edit in main.lua at line 81
-- resizeLast_resize_time = nil - replacement in main.lua at line 154
-- Should I Text.redraw_all() here to reset text fragments? It doesn't seem-- to be needed, based on repeatedly resizing the window up and down.Text.redraw_all()Last_resize_time = love.timer.getTime() - edit in main.lua at line 189
-- some hysteresis while resizingif Last_resize_time thenif love.timer.getTime() - Last_resize_time < 0.1 thenreturnelseLast_resize_time = nilendend - edit in main.lua at line 247[11.1398][12.3]
-- some hysteresis while resizingif Last_resize_time thenif love.timer.getTime() - Last_resize_time < 0.1 thenreturnelseLast_resize_time = nilendend