Update image outline when new image is loaded

This commit is contained in:
ChaoticByte 2024-12-27 23:54:38 +01:00
parent bae23b0ee6
commit 8b5a1cc37d
No known key found for this signature in database

View file

@ -49,6 +49,7 @@ func update() -> Array: # returns error messages (strings)
image_sprite.texture = ImageTexture.create_from_image(Filesystem.result)
if fit_image:
camera.fit_image()
camera.update_vd_zoomlevel()
image_viewport_display.show()
# done
return errors