mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix cel button image texture breaking when the image gets resized
This commit is contained in:
parent
73e40ed127
commit
bc8fadb67c
|
@ -769,9 +769,7 @@ func undo_or_redo(
|
|||
if current_cel is Cel3D:
|
||||
current_cel.size_changed(project.size)
|
||||
else:
|
||||
current_cel.image_texture = ImageTexture.create_from_image(
|
||||
current_cel.get_image()
|
||||
)
|
||||
current_cel.image_texture.set_image(current_cel.get_image())
|
||||
canvas.camera_zoom()
|
||||
canvas.grid.queue_redraw()
|
||||
canvas.pixel_grid.queue_redraw()
|
||||
|
|
Loading…
Reference in a new issue