From 13f25bc4a9b15839a25e936b8905d9979f11491d Mon Sep 17 00:00:00 2001 From: Floyd Wang Date: Tue, 11 Nov 2025 14:53:50 +0800 Subject: [PATCH] progress: Fix incorrect border radius (#1555) | Before | After | | - | - | | SCR-20251111-nduc | SCR-20251111-ndpb | --- crates/ui/src/progress.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ui/src/progress.rs b/crates/ui/src/progress.rs index 339a6d52..4fee8aaa 100644 --- a/crates/ui/src/progress.rs +++ b/crates/ui/src/progress.rs @@ -60,6 +60,7 @@ impl RenderOnce for Progress { div() .w_full() .relative() + .rounded_full() .refine_style(&self.style) .bg(color.opacity(0.2)) .child( @@ -72,7 +73,7 @@ impl RenderOnce for Progress { .bg(color) .map(|this| match self.value { v if v >= 100. => this.refine_style(&inner_style), - _ => this.refine_style(&inner_style).rounded_l_none(), + _ => this.refine_style(&inner_style).rounded_r_none(), }), ) }