From d57a438f965897f02647ae76ad25ff4f3a936a35 Mon Sep 17 00:00:00 2001 From: Darrell Date: Thu, 11 Apr 2024 14:55:02 +0900 Subject: [PATCH] fix circle Border --- src/component/circle.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/component/circle.rs b/src/component/circle.rs index 6ea3b32..84a61d6 100644 --- a/src/component/circle.rs +++ b/src/component/circle.rs @@ -63,7 +63,11 @@ where renderer.fill_quad( renderer::Quad { bounds: layout.bounds(), - border: Border::with_radius(self.radius), + border: Border { + width: 0.0, + color: Color::TRANSPARENT, + radius: self.radius.into(), + }, ..renderer::Quad::default() }, self.color,