1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-20 12:33:14 +00:00

Do not allow the ValueSlider's global shortcut to affect it if it's hidden

This commit is contained in:
Emmanouil Papadeas 2023-03-18 14:29:11 +02:00
parent b5388093ef
commit df00e43b84

View file

@ -62,7 +62,7 @@ func _notification(what: int) -> void:
func _input(event: InputEvent) -> void:
if not editable:
if not editable or not is_visible_in_tree():
return
# Hardcode Control + Wheel as a global shortcut, if is_global is true
# In Godot 4.x this will change into two is_action() checks for incrementing and decrementing