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

Various small improvements

This commit is contained in:
Emil Ernerfeldt
2020-04-21 20:48:31 +02:00
parent a56a869f48
commit 4efbb94e1b
8 changed files with 60 additions and 36 deletions

View File

@@ -79,7 +79,7 @@ impl Style {
/// Fill color of the interactive part of a component (button, slider grab, checkbox, ...)
pub fn interact_fill_color(&self, interact: &InteractInfo) -> Option<Color> {
if interact.active {
Some(srgba(200, 200, 200, 255))
Some(srgba(120, 120, 200, 255))
} else if interact.hovered {
Some(srgba(100, 100, 150, 255))
} else {