From ff2bd2d3f8e7b267520418eee945dd88ca204cb6 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Fri, 9 Oct 2026 20:50:08 -0400 Subject: [PATCH] Clip gain fader popup: use the current theme tokens Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/edit_window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/edit_window.rs b/crates/ui-egui/src/edit_window.rs index 5f9ba27..0ea03a2 100644 --- a/crates/ui-egui/src/edit_window.rs +++ b/crates/ui-egui/src/edit_window.rs @@ -1397,7 +1397,7 @@ pub fn clip_gain_icon(s: &Session, tl: Rect, lane: Rect, clip: &Clip) -> Option< } fn clip_gain_popup(ctx: &egui::Context, fader_bottom: Pos2, pos: f32) { - let t = Tokens::DARK; + let t = Tokens::current(); let p = ctx.layer_painter(egui::LayerId::new(egui::Order::Tooltip, egui::Id::new("clip_gain_fader"))); let track = Rect::from_min_max(pos2(fader_bottom.x - 2.0, fader_bottom.y - CLIP_FADER_TRAVEL), pos2(fader_bottom.x + 2.0, fader_bottom.y)); let panel = Rect::from_min_max(pos2(track.min.x - 22.0, track.min.y - 26.0), pos2(track.max.x + 22.0, track.max.y + 8.0));