diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-05-20 07:16:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-20 07:16:11 +0200 |
commit | 231511b2a64d6819183227356f3ac22ed6e518fe (patch) | |
tree | 3da29aa1b9466292be211e93c5f68b95a8bec841 /scene/gui/slider.cpp | |
parent | 6fd217d7c3afb1f7e4c68f9ab40883593f617a7e (diff) | |
parent | bb8129304791e8cde23694168b9e121b71161e96 (diff) |
Merge pull request #8631 from volzhs/editor-theme-custom
New customizable editor theme
Diffstat (limited to 'scene/gui/slider.cpp')
-rw-r--r-- | scene/gui/slider.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/slider.cpp b/scene/gui/slider.cpp index d2a2ff7966..ae52d6d452 100644 --- a/scene/gui/slider.cpp +++ b/scene/gui/slider.cpp @@ -45,7 +45,7 @@ void Slider::_gui_input(InputEvent p_event) { if (mb.button_index == BUTTON_LEFT) { if (mb.pressed) { - Ref<Texture> grabber = get_icon(mouse_inside || has_focus() ? "grabber_hilite" : "grabber"); + Ref<Texture> grabber = get_icon(mouse_inside || has_focus() ? "grabber_highlight" : "grabber"); grab.pos = orientation == VERTICAL ? mb.y : mb.x; double grab_width = (double)grabber->get_size().width; double grab_height = (double)grabber->get_size().height; @@ -153,7 +153,7 @@ void Slider::_notification(int p_what) { Size2i size = get_size(); Ref<StyleBox> style = get_stylebox("slider"); Ref<StyleBox> focus = get_stylebox("focus"); - Ref<Texture> grabber = get_icon(mouse_inside || has_focus() ? "grabber_hilite" : "grabber"); + Ref<Texture> grabber = get_icon(mouse_inside || has_focus() ? "grabber_highlight" : "grabber"); Ref<Texture> tick = get_icon("tick"); if (orientation == VERTICAL) { |