mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Make it easier to create an Outline
This commit is contained in:
@@ -71,10 +71,7 @@ impl Window {
|
||||
PaintCmd::Rect {
|
||||
corner_radius: 5.0,
|
||||
fill_color: Some(style.background_fill_color()),
|
||||
outline: Some(Outline {
|
||||
color: color::WHITE,
|
||||
width: 1.0,
|
||||
}),
|
||||
outline: Some(Outline::new(1.0, color::WHITE)),
|
||||
rect: state.rect,
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user