allow buttons to interrupt events
[?]
Aug 23, 2022, 4:40 PM
6D5MOJS4KEFIOKCBR37NXQHAJSHFIWUALGQ6DTSKWZOPS4TBIQJACDependencies
- [2]
WJBZZQE4fold together two largely similar cases - [3]
PW2VGQWNindent - [4]
LNUHQOGHstart passing in Editor_state explicitly - [5]
XX7G2FFJintermingle freehand line drawings with text - [6]
2L5MEZV3experiment: new edit namespace - [7]
LF7BWEG4group all editor globals
Change contents
- edit in edit.lua at line 165
return true -- don't handle any other events with this mouse button press - replacement in edit.lua at line 211
propagate_to_button_handlers(x,y, mouse_button)if propagate_to_button_handlers(x,y, mouse_button) then-- press on a button and it returned 'true' to short-circuitreturnend - replacement in button.lua at line 18
ev.onpress1()return ev.onpress1()