mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 21:03:29 +00:00
8253f1c119
The overlay is the on screen transport, for whoever is not at a keyboard, which on a tablet prompter is everyone. It was written from scratch and three things it needed already existed. Its buttons are now IconButton in the subtle-white variant, the same as the floating navigation uses over a dark viewer, which removes a block of bespoke button styling that had reinvented sizing, centring, radius and hover. The help overlay's close button likewise uses the shared Button. Visibility now comes from useFadeOutOnInactivity, the hook the floating navigation uses, so the overlay fades once the operator stops moving. It used to fade on whether the script was rolling, which meant a paused prompter kept a control bar in the talent's eyeline indefinitely. Following the shared pattern turned up a bug in the old one. The floating navigation stops taking clicks once faded, and this did not, so there was an invisible transport across the foot of the script where a stray tap would pause the read. It now matches. The operator view's FollowButton is deliberately not reused. It is a labelled pill fixed to the bottom centre, which is exactly where this group sits, so the two would land on top of each other. Same icon and same job, folded into the transport instead. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cb8RVPNQ2ETPJxdy4b8CHf