mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 09:09:47 +00:00
Fix a crash with Godot 4.3
This commit is contained in:
parent
7063af098f
commit
af81154cbf
|
@ -92,7 +92,7 @@ func _notification(what: int) -> void:
|
|||
await get_tree().process_frame
|
||||
hsv_rectangle_control.custom_minimum_size = Vector2(32, 32)
|
||||
shape_aspect_ratio.custom_minimum_size = Vector2(32, 32)
|
||||
elif what == NOTIFICATION_TRANSLATION_CHANGED:
|
||||
elif what == NOTIFICATION_TRANSLATION_CHANGED and is_instance_valid(left_color_rect):
|
||||
_average(left_color_rect.color, right_color_rect.color)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue