On a phone a drag on the ruler scrubs

The timeline's scrolling took the drag, so the playhead hardly moved.
The ruler claims its touches, and is a strip a finger can hold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
This commit is contained in:
Olive Vaughn 2026-10-11 00:11:28 -04:00
parent 2b9f8638d5
commit 66e805b956

View file

@ -1210,6 +1210,9 @@ button.share-button:hover, button.share-button.on { filter: brightness(1.1); }
.tl-ruler { .tl-ruler {
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
/* A drag along the ruler is a scrub, never a scroll: on a phone the
timeline's own scrolling took it otherwise, and the playhead hardly moved. */
touch-action: none;
/* The fine grid's ticks along its foot, so the frames under the numbers can /* The fine grid's ticks along its foot, so the frames under the numbers can
be counted too. */ be counted too. */
background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px var(--fine)); background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px var(--fine));
@ -1654,6 +1657,9 @@ button.tl-gap:hover { background: rgba(47, 111, 192, .28); }
/* The picture, not the desk around it. */ /* The picture, not the desk around it. */
.stage-area { padding: 5px; } .stage-area { padding: 5px; }
/* The scrubber is a strip a finger can hold. */
:root { --ruler: 26px; }
/* Touch targets, in the strips that are all buttons. */ /* Touch targets, in the strips that are all buttons. */
.pane-head, .options-bar { gap: 7px; } .pane-head, .options-bar { gap: 7px; }
.options-bar button, .pane-head button, .top button { min-height: 24px; } .options-bar button, .pane-head button, .top button { min-height: 24px; }