mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-12-05 01:29:32 +01:00
Dragging a tab as far right as it goes left it one place short of the end (4 tabs: the first one landed third, the move posted to: 2). The clamp stops the dragged tab with its centre exactly on the last tab's centre, and the comparison was strict. A tab after the dragged one now counts as passed once the centres meet; one before it still needs the centre to cross, so a press that does not move stays in place. Found while integrating #852 with #816 (shipped in 1.52.0). The strip walk in test/desktop-tabs-pages.browser.test.ts drags past the end; that check fails without the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>