correct a mis-named threshold
[?]
Jul 13, 2022, 4:38 AM
2Y5GGGJ4YNCFSRTQRMW53RMS4EAAL3FPHA5KLOIM53JM3JHLFGWQCDependencies
- [2]
UHB4GARJleft/right margin -> left/right coordinates - [3]
7JH2ZT3Fadd state arg to Drawing.draw - [4]
LF7BWEG4group all editor globals - [5]
4KC7I3E2make colors easier to edit - [6]
BLWAYPKVextract a module - [7]
VHQCNMARseveral more modules - [8]
R3JZDBI2drop heavyweight near check on file load/store - [9]
LAW2O3NWextract variable Margin_left - [*]
2L5MEZV3experiment: new edit namespace
Change contents
- edit in edit.lua at line 16
Same_point_distance = 4 -- pixel distance at which two points are considered the same - replacement in drawing.lua at line 44
love.graphics.circle('line', Drawing.pixels(p.x)+State.left,Drawing.pixels(p.y)+line.y, 4)love.graphics.circle('line', Drawing.pixels(p.x)+State.left,Drawing.pixels(p.y)+line.y, Same_point_distance) - replacement in drawing.lua at line 709
return (cx-px)*(cx-px) + (cy-py)*(cy-py) < Editor_state.leftreturn (cx-px)*(cx-px) + (cy-py)*(cy-py) < Same_point_distance*Same_point_distance