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

Add rudimentary support for gui windows that you can move around

This commit is contained in:
Emil Ernerfeldt
2020-04-17 14:26:36 +02:00
parent b26359d383
commit 1d3836ba80
10 changed files with 297 additions and 79 deletions

View File

@@ -389,8 +389,8 @@ impl Mesher {
add_arc(vec2(max.x - cr, min.y + cr), 3);
}
if let Some(color) = fill_color {
self.fill_closed_path(&path_points, &path_normals, *color);
if let Some(fill_color) = fill_color {
self.fill_closed_path(&path_points, &path_normals, *fill_color);
}
if let Some(outline) = outline {
self.paint_path(