Soften battle UI frames

This commit is contained in:
2026-06-20 02:13:22 +09:00
parent 6fe5768665
commit 6bf84a89c3
3 changed files with 31 additions and 33 deletions

View File

@@ -3598,8 +3598,8 @@ func _check_panel_style_frame(failures: Array[String], panel: PanelContainer, la
if style.get_border_width(SIDE_LEFT) != expected_width:
failures.append("%s border width mismatch: %d" % [label, style.get_border_width(SIDE_LEFT)])
var radius := style.get_corner_radius(CORNER_TOP_LEFT)
if radius < 4 or radius > 8:
failures.append("%s should use restrained rounded corners, got %d" % [label, radius])
if radius < 8 or radius > 14:
failures.append("%s should use softened rounded corners, got %d" % [label, radius])
func _colors_nearly_equal(left: Color, right: Color) -> bool: