mirror of
https://github.com/storytold/egui.git
synced 2026-12-01 10:49:02 +01:00
Fix CircleShape::visual_bounding_rect() (#1575)
This commit is contained in:
1 parent
1dd014cbed
commit
cb2298e98b
1 file changed
+1
-1
+1
-1
@@ -331,7 +331,7 @@ impl CircleShape {
|
||||
} else {
|
||||
Rect::from_center_size(
|
||||
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