From b4fbb1df750d9b478101ab68579accfb67dde39f Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Fri, 20 Dec 2024 00:20:37 +0200 Subject: [PATCH] Set input as handled when dragging on a ValueSlider --- src/UI/Nodes/Sliders/ValueSlider.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/src/UI/Nodes/Sliders/ValueSlider.gd b/src/UI/Nodes/Sliders/ValueSlider.gd index b990b19cf..df27c6d6a 100644 --- a/src/UI/Nodes/Sliders/ValueSlider.gd +++ b/src/UI/Nodes/Sliders/ValueSlider.gd @@ -166,6 +166,7 @@ func _gui_input(event: InputEvent) -> void: else: if event.ctrl_pressed: value = roundf(value / snap_step) * snap_step + get_viewport().set_input_as_handled() func _setup_nodes() -> void: ## Only called once on _ready()