From 66e805b9561f8dbddb81e9ba3add448e27303586 Mon Sep 17 00:00:00 2001 From: Olive Vaughn Date: Sun, 11 Oct 2026 00:11:28 -0400 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9 --- static/arthur/app.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/arthur/app.css b/static/arthur/app.css index 6588525..411b682 100644 --- a/static/arthur/app.css +++ b/static/arthur/app.css @@ -1210,6 +1210,9 @@ button.share-button:hover, button.share-button.on { filter: brightness(1.1); } .tl-ruler { cursor: pointer; 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 be counted too. */ 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. */ .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. */ .pane-head, .options-bar { gap: 7px; } .options-bar button, .pane-head button, .top button { min-height: 24px; }