mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
refactor interact style
This commit is contained in:
@@ -235,8 +235,8 @@ impl Resize {
|
||||
}
|
||||
|
||||
fn paint_resize_corner(ui: &mut Ui, interact: &InteractInfo) {
|
||||
let color = ui.style().interact_stroke_color(interact);
|
||||
let width = ui.style().interact_stroke_width(interact);
|
||||
let color = ui.style().interact(interact).stroke_color;
|
||||
let width = ui.style().interact(interact).stroke_width;
|
||||
|
||||
let corner = interact.rect.right_bottom().round(); // TODO: round to pixels
|
||||
let mut w = 2.0;
|
||||
|
||||
Reference in New Issue
Block a user