mirror of
https://github.com/damus-io/notedeck.git
synced 2024-10-18 19:23:27 +00:00
note: switch to muted menu_options_button color
Otherwise it stands out too much Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
a9cb734ef6
commit
0c3b2ae817
@ -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 translated_radius = (cur_radius - 1.0) / 2.0;
|
||||||
|
|
||||||
let color = if ui.style().visuals.dark_mode {
|
// This works in both themes
|
||||||
egui::Color32::WHITE
|
let color = colors::GRAY_SECONDARY;
|
||||||
} else {
|
|
||||||
egui::Color32::BLACK
|
|
||||||
};
|
|
||||||
|
|
||||||
// Draw circles
|
// Draw circles
|
||||||
let painter = ui.painter_at(rect);
|
let painter = ui.painter_at(rect);
|
||||||
|
Loading…
Reference in New Issue
Block a user