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:
parent
b5388093ef
commit
df00e43b84
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue