diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-07 11:46:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-07 11:46:25 +0100 |
commit | b02460266065413957eae3de34f9aef49c5a72f1 (patch) | |
tree | 42e73d207d13fcd2053557ca9b9ae38c2fe37ead /scene/gui/button.cpp | |
parent | 6f425242dcce95ae9993dca017f91e7bab2060d3 (diff) | |
parent | a988fad9a092053434545c32afae91ccbdfbe792 (diff) |
Merge pull request #57725 from jmb462/missing-sname-theme-setters
Diffstat (limited to 'scene/gui/button.cpp')
-rw-r--r-- | scene/gui/button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/button.cpp b/scene/gui/button.cpp index 3ed1b873af..65bfb463f0 100644 --- a/scene/gui/button.cpp +++ b/scene/gui/button.cpp @@ -127,7 +127,7 @@ void Button::_notification(int p_what) { } break; case DRAW_HOVER_PRESSED: { // Edge case for CheckButton and CheckBox. - if (has_theme_stylebox("hover_pressed")) { + if (has_theme_stylebox(SNAME("hover_pressed"))) { if (rtl && has_theme_stylebox(SNAME("hover_pressed_mirrored"))) { style = get_theme_stylebox(SNAME("hover_pressed_mirrored")); } else { |