Skip to content

Commit e5b4ef8

Browse files
committed
Merge pull request godotengine#90283 from YeldhamDev/pure_squares
Remove border roundness inside panels of `AcceptDialog` windows
2 parents 66dbe35 + 167b0ac commit e5b4ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/theme/default_theme.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
639639
// Dialogs
640640

641641
// AcceptDialog is currently the base dialog, so this defines styles for all extending nodes.
642-
theme->set_stylebox("panel", "AcceptDialog", make_flat_stylebox(style_popup_color, Math::round(8 * scale), Math::round(8 * scale), Math::round(8 * scale), Math::round(8 * scale)));
642+
theme->set_stylebox("panel", "AcceptDialog", make_flat_stylebox(style_popup_color, Math::round(8 * scale), Math::round(8 * scale), Math::round(8 * scale), Math::round(8 * scale), 0));
643643
theme->set_constant("buttons_separation", "AcceptDialog", Math::round(10 * scale));
644644

645645
// File Dialog

0 commit comments

Comments
 (0)