better handle moving points
[?]
Jun 18, 2022, 4:40 AM
AVFRVNFRGQ3KY6CPC2QFPYVO6OAGZVYV7IVX5PSKGCNWO24Q2MTACDependencies
- [2]
ZTMRQZSWReadme - [3]
LAW2O3NWextract variable Margin_left - [4]
ZRKTXF4Qtweak to Readme - [5]
BYG5CEMVsupport for naming points - [6]
25V2GA6Jtaking stock - [7]
IDGP4BJZnew known issue with drawings - [8]
242L3OQXbugfix: ensure Cursor_line is always on a text line - [*]
BLWAYPKVextract a module - [*]
RT6EV6OPdelegate update events to drawings - [*]
FS2ITYYHrecord a known issue
Change contents
- edit in drawing.lua at line 251
if drawing.mode == 'manhattan' thendrawing.mode = 'line'elseif drawing.mode == 'rectangle' or drawing.mode == 'square' thendrawing.mode = 'polygon'end - edit in README.md at line 93[4.135]→[5.2256:2257](∅→∅),[5.2256]→[5.2256:2257](∅→∅),[5.2257]→[5.21:203](∅→∅),[5.21]→[5.21:203](∅→∅)
* Insufficient handling of constraints when moving points. For example, if youdraw a manhattan line and then move one of the points, you may not be ableto hover on it anymore. - edit in README.md at line 94
There's two broad ways to fix this. The first is to relax constraints,switch the manhattan line to not be manhattan. The second is to try tomaintain constraints. Either constrain the point to only move along one line(but what if it's connected to two manhattan lines?!), or constrain theother end of the line to move alongside. I'm not sure yet which would bemore useful. Getting into constraints would also make the program morecomplex.Bottomline: at the moment moving points connected to manhattan lines,rectangles or squares can break drawings in subtle ways.