purge unused button infrastructure
[?]
Nov 6, 2022, 2:52 AM
UD7HNQL7DEFIVBZQAXXEYDCBLVBEFTLPJUCE4GREVIXWFBRAHPUACDependencies
- [2]
K6DTOGOQflip return value of button handlers - [3]
PP2IIHL6stop putting button state in a global - [4]
LNUHQOGHstart passing in Editor_state explicitly - [5]
6D5MOJS4allow buttons to interrupt events - [6]
ERQKFTPVextract method - [7]
2L5MEZV3experiment: new edit namespace - [8]
LF7BWEG4group all editor globals - [9]
4KC7I3E2make colors easier to edit
Change contents
- edit in edit.lua at line 78
State.button_handlers = {} - edit in edit.lua at line 130[3.4647]→[2.15:94](∅→∅),[2.94]→[3.172:254](∅→∅),[3.179]→[3.172:254](∅→∅),[3.172]→[3.172:254](∅→∅),[3.254]→[3.7016:7017](∅→∅),[3.7016]→[3.7016:7017](∅→∅)
if mouse_press_consumed_by_any_button_handler(State, x,y, mouse_button) then-- press on a button and it returned 'true' to short-circuitreturnend