1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Update audio cel buttons when changing the audio of the layer

This commit is contained in:
Emmanouil Papadeas 2024-12-13 17:16:22 +02:00
parent 019a8db21c
commit 97495a19da

View file

@ -36,6 +36,7 @@ func _ready() -> void:
_is_playing_audio() _is_playing_audio()
Global.cel_switched.connect(_is_playing_audio) Global.cel_switched.connect(_is_playing_audio)
Global.current_project.fps_changed.connect(_is_playing_audio) Global.current_project.fps_changed.connect(_is_playing_audio)
Global.current_project.layers[layer].audio_changed.connect(_is_playing_audio)
Global.current_project.layers[layer].playback_frame_changed.connect(_is_playing_audio) Global.current_project.layers[layer].playback_frame_changed.connect(_is_playing_audio)