Merge pull request #78468 from KoBeWi/enmarginalization

Fix ColorPicker margin theme property
This commit is contained in:
Rémi Verschelde 2023-08-08 16:55:32 +02:00
commit 14256a2395
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 27 additions and 24 deletions

View file

@ -1969,7 +1969,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
theme->set_color("files_disabled", "FileDialog", font_disabled_color);
// ColorPicker
theme->set_constant("margin", "ColorPicker", popup_margin_size);
theme->set_constant("margin", "ColorPicker", default_margin_size);
theme->set_constant("sv_width", "ColorPicker", 256 * EDSCALE);
theme->set_constant("sv_height", "ColorPicker", 256 * EDSCALE);
theme->set_constant("h_width", "ColorPicker", 30 * EDSCALE);