diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2020-03-12 09:37:40 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2020-03-26 15:49:42 +0100 |
| commit | 441f1a5fe9a3bf0e4e5dab578f793500b1ff6e3d (patch) | |
| tree | 6421bcc3235e6fdcd726244ac7d455886e17734b /scene/gui/spin_box.cpp | |
| parent | 543fb1c4dadd75914d595b089820aef42e691075 (diff) | |
| download | redot-engine-441f1a5fe9a3bf0e4e5dab578f793500b1ff6e3d.tar.gz | |
Popups are now windows also (broken!)
Diffstat (limited to 'scene/gui/spin_box.cpp')
| -rw-r--r-- | scene/gui/spin_box.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index 12b2f39538..ccfa8ebf63 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -196,7 +196,7 @@ void SpinBox::_notification(int p_what) { if (p_what == NOTIFICATION_DRAW) { - Ref<Texture2D> updown = get_icon("updown"); + Ref<Texture2D> updown = get_theme_icon("updown"); _adjust_width_for_icon(updown); @@ -210,7 +210,7 @@ void SpinBox::_notification(int p_what) { //_value_changed(0); } else if (p_what == NOTIFICATION_ENTER_TREE) { - _adjust_width_for_icon(get_icon("updown")); + _adjust_width_for_icon(get_theme_icon("updown")); _value_changed(0); } else if (p_what == NOTIFICATION_THEME_CHANGED) { |
