You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-26 15:46:23 +00:00
Added increment_pressed and decrement_pressed icons to scrollbars
(cherry picked from commit e27ab2708f)
This commit is contained in:
@@ -1037,8 +1037,10 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
|
||||
theme->set_icon("increment", "HScrollBar", empty_icon);
|
||||
theme->set_icon("increment_highlight", "HScrollBar", empty_icon);
|
||||
theme->set_icon("increment_pressed", "HScrollBar", empty_icon);
|
||||
theme->set_icon("decrement", "HScrollBar", empty_icon);
|
||||
theme->set_icon("decrement_highlight", "HScrollBar", empty_icon);
|
||||
theme->set_icon("decrement_pressed", "HScrollBar", empty_icon);
|
||||
|
||||
// VScrollBar
|
||||
theme->set_stylebox("scroll", "VScrollBar", make_stylebox(theme->get_icon("GuiScrollBg", "EditorIcons"), 5, 5, 5, 5, 0, 0, 0, 0));
|
||||
@@ -1049,8 +1051,10 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
|
||||
theme->set_icon("increment", "VScrollBar", empty_icon);
|
||||
theme->set_icon("increment_highlight", "VScrollBar", empty_icon);
|
||||
theme->set_icon("increment_pressed", "VScrollBar", empty_icon);
|
||||
theme->set_icon("decrement", "VScrollBar", empty_icon);
|
||||
theme->set_icon("decrement_highlight", "VScrollBar", empty_icon);
|
||||
theme->set_icon("decrement_pressed", "VScrollBar", empty_icon);
|
||||
|
||||
// HSlider
|
||||
theme->set_icon("grabber_highlight", "HSlider", theme->get_icon("GuiSliderGrabberHl", "EditorIcons"));
|
||||
|
||||
Reference in New Issue
Block a user