Merge pull request #24 from hayahane/main

Fix `PopupDialog` and `AcceptDialog` panel corner radius
pull/25/head
passivestar 2025-03-26 16:49:30 +07:00 committed by GitHub
commit ad8b11f124
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")