diff options
Diffstat (limited to 'client/menu')
| -rw-r--r-- | client/menu/scroll_container_custom.gd | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/client/menu/scroll_container_custom.gd b/client/menu/scroll_container_custom.gd index b3ce4e46..73780ae2 100644 --- a/client/menu/scroll_container_custom.gd +++ b/client/menu/scroll_container_custom.gd @@ -23,7 +23,7 @@ var velocity := 0.  func _process(delta):  	velocity = G.interpolate(velocity, 0., delta * 5.) -	velocity = 0 if abs(velocity) < .001 else velocity +	velocity = 0. if abs(velocity) < .001 else velocity  	if Input.get_axis("scroll_up", "scroll_down") != 0.:  		velocity = Input.get_axis("scroll_up", "scroll_down")  	set_deferred("scroll_vertical", scroll_vertical + velocity * delta * SCROLL_SPEED) | 
