mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 00:59:47 +00:00
Set input as handled when dragging on a ValueSlider
This commit is contained in:
parent
360aa250c4
commit
b4fbb1df75
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue