summaryrefslogtreecommitdiff
path: root/devices/__pycache__/modbus_device.cpython-312.pyc
diff options
context:
space:
mode:
authorChristian Kolset <christian.kolset@gmail.com>2026-06-03 16:35:15 -0600
committerChristian Kolset <christian.kolset@gmail.com>2026-06-03 16:35:15 -0600
commitf60de21eeaa50f847108a9c103934cc8da7352fb (patch)
treed1fa7ed98529ae86a4445c094c0a01148e13f9eb /devices/__pycache__/modbus_device.cpython-312.pyc
parentf007593abc9a666df85120e08c7f1d327d9215da (diff)
Three-zone drop system: squeeze, split, center
Zone layout (outer to inner per edge): 0–1/6 squeeze (amber): insert dropped tile between two existing tiles 1/6–1/3 split (blue): bisect the target tile 50/50 1/3–2/3 center (green): swap/move Squeeze behaviour: find the tile adjacent to the target in the drop direction; insert dragged tile to the opposite side of that neighbor so it lands visually between them. Falls back to split when no neighbor exists (edge tile). - _zone_at: returns "squeeze_*"/"split_*"/"center" with dominant-axis selection (nearest edge wins) - _adjacent_tile: finds geometrically adjacent tile by pixel proximity - _do_drop: routes squeeze→insert-at-neighbor, split→bisect, center→swap - paintEvent: amber/blue/green per zone type Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'devices/__pycache__/modbus_device.cpython-312.pyc')
0 files changed, 0 insertions, 0 deletions