summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2024-04-05 19:21:00 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2024-04-06 00:01:16 -0300
commit167b0ac8d5f13d2073c36fd3fcc7dea75c9492d3 (patch)
tree41cf094f3f8d5be59078535c1a3d07715244df48
parent79de2eaae7fb3bb8f13031ac2ec9b19128b6f471 (diff)
downloadredot-engine-167b0ac8d5f13d2073c36fd3fcc7dea75c9492d3.tar.gz
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