Fix `PopupDialog` and `AcceptDialog` panel corner radius

pull/24/head
Alpacat 2025-03-26 19:56:16 +07:00 committed by GitHub
parent ff9cf197b9
commit 0cbb71776a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

@ -588,6 +588,7 @@ func _init() -> void:
sb = base_sb.duplicate()
sb.set_content_margin_all(int(popup_margin * scale))
sb.set_corner_radius_all(0)
set_stylebox('panel', 'PopupDialog', sb)
set_stylebox('panel', 'AcceptDialog', sb)
@ -797,4 +798,4 @@ func _set_border(sb: StyleBoxFlat, color: Color, width: float = 1, blend: bool =
[resource]
script = SubResource("GDScript_hhmc0")
script = SubResource("GDScript_hhmc0")