git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

commitdaefa17db41deec03eadd1cf7f0da03c841d56e8
parent2dc85e9fdb
authorLucas Galante <lsgalante12@gmail.com>
date2026-10-06 21:13
feat(playbar): drop the accent playhead line

The band's swell already stands at the current frame; the accent line drawn
over it said the same thing twice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

 src/playbar.rs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/playbar.rs b/src/playbar.rs
index 38699d0..e2c5e8f 100644
--- a/src/playbar.rs
+++ b/src/playbar.rs
@@ -201,7 +201,6 @@ impl Paint for Playbar {
         }
         let rect = self.content(rect);
         let relief = cce_ui::layout::control_relief();
-        let accent = colors::highlight_primary_color();
 
         // The transport buttons: raised plates under the DE relief styling
         // (the Button transparent-fill degradation — edges only, the pane
@@ -271,8 +270,8 @@ impl Paint for Playbar {
             f += step;
         }
 
-        // Playhead: a full-height line over the swell, in the DE accent.
-        ctx.quad(Rect { x: px - 1.0, y: track.y - 3.0, width: 2.0, height: track.height + 6.0 }, accent);
+        // No playhead line: the band's swell already stands at the current
+        // frame (until 2026-10-06 an accent line was drawn over it too).
 
         // Frame readout.
         let text = format!("{:>4} / {}", self.current_frame.round() as i64, self.end_frame.round() as i64);