1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Initialize class variables with default values in scene/ [2/2]

This commit is contained in:
Rafał Mikrut
2021-02-09 18:24:36 +01:00
parent df9c98e107
commit 7961a1dea3
171 changed files with 1007 additions and 1889 deletions

View File

@@ -269,12 +269,5 @@ void Slider::_bind_methods() {
Slider::Slider(Orientation p_orientation) {
orientation = p_orientation;
mouse_inside = false;
grab.active = false;
ticks = 0;
ticks_on_borders = false;
custom_step = -1;
editable = true;
scrollable = true;
set_focus_mode(FOCUS_ALL);
}