diff options
| author | Christian Kolset <christian.kolset@gmail.com> | 2026-06-04 11:39:33 -0600 |
|---|---|---|
| committer | Christian Kolset <christian.kolset@gmail.com> | 2026-06-04 11:39:33 -0600 |
| commit | 0388bebbc806d23abab945d52a0f285f966b412a (patch) | |
| tree | 7de136976aac58ed7db03881c54c1f4daa5e8529 /plugins/motion_capture/device.py | |
| parent | 7651f515728533506391e6cc719fe8ff32c339e7 (diff) | |
Fix layout canvas drag-drop: zone logic, pop-out bug, canvas height
- Fix squeeze zone pop-out: _adjacent_tile used self._drag_tile (already
None at drop time) to exclude the dragged tile from neighbor candidates.
Pass dragged_idx explicitly via exclude_idx param instead.
- Swap split/squeeze detection areas: outer 1/6 now triggers squeeze
(insert-between), inner 1/6→1/3 band triggers split (bisect target).
- Extend squeeze detection to gaps between tiles and canvas edges via a
second pass in _zone_at that expands tile rects by _LC_GAP+2 and finds
the closest outside edge. Canvas-edge squeeze falls through to bisect.
- Dynamic canvas height: sync_panes sets height to
max(160, n*(min_tile+gap)+2*gap) so 4+ panes never get crushed below
minimum tile size.
- Remove _tree_grid_size cap of 12: LCM was truncated prematurely,
causing unequal rowspans in the strip chart for 5+ panes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'plugins/motion_capture/device.py')
0 files changed, 0 insertions, 0 deletions
