1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -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

@@ -164,8 +164,8 @@ impl ScrollArea {
);
let style = outer_ui.style();
let handle_fill_color = style.interact_fill_color(&handle_interact);
let handle_outline = style.interact_outline(&handle_interact);
let handle_fill_color = style.interact(&handle_interact).fill_color;
let handle_outline = style.interact(&handle_interact).outline;
outer_ui.add_paint_cmd(PaintCmd::Rect {
rect: outer_scroll_rect,