1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00

use standard selection color

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
René Rössler
2022-02-09 12:46:13 +01:00
committed by GitHub
parent b91855ca94
commit 63491e247f

View File

@@ -277,7 +277,7 @@ impl<'a> DatePickerPopup<'a> {
&& popup_state.month == day.month()
&& popup_state.day == day.day()
{
Color32::DARK_BLUE
ui.visuals().selection.bg_fill
} else if day.weekday() == Weekday::Sat
|| day.weekday() == Weekday::Sun
{