mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Optimize meshing
This commit is contained in:
@@ -256,7 +256,7 @@ fn paint_resize_corner(ui: &mut Ui, interact: &InteractInfo) {
|
||||
|
||||
while w < 12.0 {
|
||||
ui.add_paint_cmd(PaintCmd::line_segment(
|
||||
(pos2(corner.x - w, corner.y), pos2(corner.x, corner.y - w)),
|
||||
[pos2(corner.x - w, corner.y), pos2(corner.x, corner.y - w)],
|
||||
color,
|
||||
width,
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user