1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

[style] Fade out windows on close

This commit is contained in:
Emil Ernerfeldt
2021-01-20 00:30:07 +01:00
parent 29bb7c9f9d
commit e2217ff63a
7 changed files with 86 additions and 27 deletions

View File

@@ -22,7 +22,7 @@ impl Default for WidgetGallery {
radio: Enum::First,
scalar: 42.0,
string: "Hello World!".to_owned(),
color: (egui::Rgba::from(egui::Color32::LIGHT_BLUE) * 0.5).into(),
color: egui::Color32::LIGHT_BLUE.linear_multiply(0.5),
}
}
}