Soften battle UI frames
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user