diff options
author | hop311 <hop3114@gmail.com> | 2024-03-20 23:48:47 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-03-20 23:48:47 +0100 |
commit | 8299a896d7658ffe86272ea0b21b8e5f7c600510 (patch) | |
tree | 711e838d6b9a69324d71f441d0a648aaaa59ebee /extension/src/openvic-extension/classes/GUIScrollbar.cpp | |
parent | f8af17618e9f24dd6833ecaab64bf968cca2ec15 (diff) |
Add selected button state
Diffstat (limited to 'extension/src/openvic-extension/classes/GUIScrollbar.cpp')
-rw-r--r-- | extension/src/openvic-extension/classes/GUIScrollbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/src/openvic-extension/classes/GUIScrollbar.cpp b/extension/src/openvic-extension/classes/GUIScrollbar.cpp index 93eb00b..cdfa2fd 100644 --- a/extension/src/openvic-extension/classes/GUIScrollbar.cpp +++ b/extension/src/openvic-extension/classes/GUIScrollbar.cpp @@ -394,7 +394,7 @@ Error GUIScrollbar::set_gui_scrollbar(GUI::Scrollbar const* new_gui_scrollbar) { for (GFXButtonStateTexture::ButtonState state : { HOVER, PRESSED }) { ERR_FAIL_NULL_V_MSG(texture->get_button_state_texture(state), false, vformat( "Failed to generate %s texture for %s element %s for GUIScrollbar %s!", - GFXButtonStateTexture::button_state_to_theme_name(state), target, element_name, gui_scrollbar_name + GFXButtonStateTexture::button_state_to_name(state), target, element_name, gui_scrollbar_name )); } } |