1
0
Fork 0
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:
Emmanouil Papadeas 2022-06-26 01:39:25 +03:00
parent 2d2f86114c
commit 31b56500c2

View file

@ -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