mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-20 12:33:14 +00:00
Make Pixelorama work on Godot 3.5-rc4
For some reason it crashes without this fix, while it did not crash in RC3.
This commit is contained in:
parent
2d2f86114c
commit
31b56500c2
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@ func _on_AnimationTimeline_item_rect_changed() -> void:
|
|||
|
||||
|
||||
func _on_TimelineContainer_item_rect_changed() -> void:
|
||||
if not timeline_container:
|
||||
return
|
||||
# Layer movement
|
||||
var limit = timeline_container.rect_size.x - main_scroll.rect_size.x
|
||||
var amount = main_scroll.scroll_horizontal
|
||||
|
|
Loading…
Add table
Reference in a new issue