diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-08-31 18:19:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-31 18:19:45 +0200 |
commit | c12a1dc53e7fb5ecd449cba4ddff6fed0bcab1cc (patch) | |
tree | a33877566044ad7c0954d9b99ee61d467be24523 | |
parent | 8cb5036b9aa5e2c5a92fee4bc7ea2a3ccb7ab8c3 (diff) | |
parent | afc66f2f90931cba13693b1a17285933d44c3ee8 (diff) |
Merge pull request #10823 from toger5/fix_VSlider_focus_non_existent
changed-"HSlider" -> "VSlider" for focus style fixes #728
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 0a4891e81e..4ff635edeb 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -526,7 +526,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const theme->set_stylebox("slider", "VSlider", make_stylebox(vslider_bg_png, 4, 4, 4, 4)); theme->set_stylebox("grabber_highlight", "VSlider", make_stylebox(vslider_grabber_hl_png, 6, 6, 6, 6)); theme->set_stylebox("grabber_disabled", "VSlider", make_stylebox(vslider_grabber_disabled_png, 6, 6, 6, 6)); - theme->set_stylebox("focus", "HSlider", focus); + theme->set_stylebox("focus", "VSlider", focus); theme->set_icon("grabber", "VSlider", make_icon(vslider_grabber_png)); theme->set_icon("grabber_highlight", "VSlider", make_icon(vslider_grabber_hl_png)); |