1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

refactor interact style

This commit is contained in:
Emil Ernerfeldt
2020-05-10 08:55:41 +02:00
parent 2bd610cb5b
commit 3a1d677840
10 changed files with 135 additions and 87 deletions

View File

@@ -80,7 +80,7 @@ impl<'t> Widget for TextEdit<'t> {
rect: interact.rect,
corner_radius: 0.0,
// fill_color: Some(color::BLACK),
fill_color: ui.style().interact_fill_color(&interact),
fill_color: ui.style().interact(&interact).fill_color,
// fill_color: Some(ui.style().background_fill_color()),
outline: None, //Some(Outline::new(1.0, color::WHITE)),
});