From 0c3b2ae81715c88352edce5e9757c0c075d0520b Mon Sep 17 00:00:00 2001 From: William Casarin Date: Thu, 26 Sep 2024 09:40:42 -0700 Subject: [PATCH] note: switch to muted menu_options_button color Otherwise it stands out too much Signed-off-by: William Casarin --- src/ui/note/mod.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/ui/note/mod.rs b/src/ui/note/mod.rs index 6af5b21d..87690f14 100644 --- a/src/ui/note/mod.rs +++ b/src/ui/note/mod.rs @@ -709,11 +709,8 @@ fn more_options_button(ui: &mut egui::Ui, note_key: NoteKey, max_height: f32) -> let translated_radius = (cur_radius - 1.0) / 2.0; - let color = if ui.style().visuals.dark_mode { - egui::Color32::WHITE - } else { - egui::Color32::BLACK - }; + // This works in both themes + let color = colors::GRAY_SECONDARY; // Draw circles let painter = ui.painter_at(rect);