diff --git a/scripts/ui/medmind_style.gd b/scripts/ui/medmind_style.gd index 69c86fc..bbe48a1 100644 --- a/scripts/ui/medmind_style.gd +++ b/scripts/ui/medmind_style.gd @@ -146,6 +146,12 @@ static func icon_circle_box(dark: bool, accent: Color, radius: int, filled: bool box.border_color = Color(accent, 0.48 if dark else 0.18) box.set_border_width_all(1) box.set_corner_radius_all(radius) + # A perfectly circular StyleBoxFlat (radius == half the box size, no straight edges + # between corners) is a known Godot degenerate case that can draw a faint seam through + # the middle when antialiasing is on; more corner segments plus disabling AA renders a + # clean circle instead at these small badge sizes. + box.corner_detail = 20 + box.anti_aliasing = false return box