From 3136aa697c169ba5055eae39b7f8420564de95ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 19 Aug 2026 23:39:43 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(app):=20the=20scrub=20bar=20?= =?UTF-8?q?steps=20over=20the=20notices=20instead=20of=20on=20them?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Its 24px hit area sat on the one-line notice plate, so a click meant to dismiss the notice seeked the preview instead, and the fill bisected the text. The bar now rests on top of whatever height the transient bars measured this frame. --- crates/app/src/ui/preview.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/app/src/ui/preview.rs b/crates/app/src/ui/preview.rs index 019220f..1e0677a 100644 --- a/crates/app/src/ui/preview.rs +++ b/crates/app/src/ui/preview.rs @@ -56,7 +56,11 @@ impl Player { .absolute() .left_0() .right_0() - .bottom_0() + // Above the transient bars, not over them: the bar's 24px hit + // area drawn on a one-line notice ate the notice's own "click + // to dismiss". The probe below the bars says how tall they + // came out this frame; zero with none up. + .bottom(self.notice_h.get()) .h(px(RULER_HIT_H)) .flex() .flex_col()