fix: click on ruler moves playhead only (no zero-width selection)

- Remove setSelectionStart/End from simple click (non-drag) path
- Only handleMouseMove (drag) creates/modifies selection
- Sub-tab already correct (no selection set on click)
This commit is contained in:
2026-07-27 09:19:18 +07:00
parent dff2c81848
commit d04442ad45
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -10802,8 +10802,6 @@ const App = () => {
setSelectionEnd(selE);
} else {
rulerAnchorRef.current = Math.max(0, time);
setSelectionStart(Math.max(0, time));
setSelectionEnd(Math.max(0, time));
}
handlePlayheadSet(time);
};