make local functions look different
[?]
Jul 13, 2022, 3:04 PM
FZCKGO2IA5ZMX7TD4HL3WBUR6NPOYYMT4RGVWF7KFQBFV2V3RZBACDependencies
- [2]
R3XGABERchunk up some long lines - [3]
W2CQ7YNGmore chunks, same approach - [4]
BLWAYPKVextract a module - [5]
KTZQ57HVreplace globals with args in a few functions - [6]
NYQ7HD4Dmove - [7]
AH744RFRshow when we're naming a point
Change contents
- replacement in drawing.lua at line 42
local px = function(x) return Drawing.pixels(x, State.width)+State.left endlocal py = function(y) return Drawing.pixels(y, State.width)+line.y endlocal function px(x) return Drawing.pixels(x, State.width)+State.left endlocal function py(y) return Drawing.pixels(y, State.width)+line.y end - replacement in drawing.lua at line 78
local px = function(x) return Drawing.pixels(x, width)+left endlocal py = function(y) return Drawing.pixels(y, width)+top endlocal function px(x) return Drawing.pixels(x, width)+left endlocal function py(y) return Drawing.pixels(y, width)+top end - replacement in drawing.lua at line 122
local px = function(x) return Drawing.pixels(x, width)+left endlocal py = function(y) return Drawing.pixels(y, width)+top endlocal function px(x) return Drawing.pixels(x, width)+left endlocal function py(y) return Drawing.pixels(y, width)+top end