mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Fix CircleShape::visual_bounding_rect() (#1575)
This commit is contained in:
@@ -331,7 +331,7 @@ impl CircleShape {
|
|||||||
} else {
|
} else {
|
||||||
Rect::from_center_size(
|
Rect::from_center_size(
|
||||||
self.center,
|
self.center,
|
||||||
Vec2::splat(self.radius + self.stroke.width / 2.0),
|
Vec2::splat(self.radius * 2.0 + self.stroke.width),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user