summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-04-06 13:07:01 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-04-06 13:07:01 +0200
commite5b4ef8e9522e950033cbece39a31a4a76da19c1 (patch)
tree1633ca765875d64a35a8b30e889b7645e1f4c5fd
parent66dbe3591bbcc35b4409ecbbf6fe8925d4406303 (diff)
parent167b0ac8d5f13d2073c36fd3fcc7dea75c9492d3 (diff)
downloadredot-engine-e5b4ef8e9522e950033cbece39a31a4a76da19c1.tar.gz
Merge pull request #90283 from YeldhamDev/pure_squares
Remove border roundness inside panels of `AcceptDialog` windows
-rw-r--r--scene/theme/default_theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/theme/default_theme.cpp b/scene/theme/default_theme.cpp
index 7ab1d399fb..d1d8854b18 100644
--- a/scene/theme/default_theme.cpp
+++ b/scene/theme/default_theme.cpp
@@ -639,7 +639,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
// Dialogs
// AcceptDialog is currently the base dialog, so this defines styles for all extending nodes.
- 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)));
+ 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));
theme->set_constant("buttons_separation", "AcceptDialog", Math::round(10 * scale));
// File Dialog