summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-07-22 13:46:36 +0200
committerGitHub <noreply@github.com>2017-07-22 13:46:36 +0200
commitf0ab3283c072c9a9a86b9fdbe0cd334ec4b39c31 (patch)
tree57dc9a96174200fb44f9328516def667362ce3da /scene/gui
parent93422e2ff280130a00ffb62e361f9d1be8853f8b (diff)
parent0fc4b04f51184075aab7f91fb20ce69657b4bcd1 (diff)
Merge pull request #9749 from kubecz3k/animtree-slider-fix
AnimationTree nodes sliders fixes
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/range.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/range.cpp b/scene/gui/range.cpp
index 7158592bb1..68afe8150a 100644
--- a/scene/gui/range.cpp
+++ b/scene/gui/range.cpp
@@ -273,8 +273,8 @@ Range::Range() {
shared = memnew(Shared);
shared->min = 0;
shared->max = 100;
- shared->val =
- shared->step = 1;
+ shared->val = 0;
+ shared->step = 1;
shared->page = 0;
shared->owners.insert(this);
shared->exp_ratio = false;