mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Refactor: turn ClippedShape from struct-enum to a normal struct (#3225)
This commit is contained in:
@@ -183,7 +183,7 @@ impl PaintStats {
|
||||
stats.shape_vec.element_size = ElementSize::Heterogenous; // nicer display later
|
||||
|
||||
stats.shapes = AllocInfo::from_slice(shapes);
|
||||
for ClippedShape(_, shape) in shapes {
|
||||
for ClippedShape { shape, .. } in shapes {
|
||||
stats.add(shape);
|
||||
}
|
||||
stats
|
||||
|
||||
Reference in New Issue
Block a user