mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Change occurrences of canvas_preview.frame to canvas_preview.frame_index
This commit is contained in:
parent
55bc6e5a8b
commit
fb4b26a060
|
@ -60,7 +60,7 @@ func _on_VFrames_value_changed(value: float) -> void:
|
||||||
|
|
||||||
|
|
||||||
func _on_StartFrame_value_changed(value: float) -> void:
|
func _on_StartFrame_value_changed(value: float) -> void:
|
||||||
canvas_preview.frame = value - 1
|
canvas_preview.frame_index = value - 1
|
||||||
canvas_preview.start_sprite_sheet_frame = value
|
canvas_preview.start_sprite_sheet_frame = value
|
||||||
if end_frame.value < value:
|
if end_frame.value < value:
|
||||||
end_frame.value = value
|
end_frame.value = value
|
||||||
|
@ -71,7 +71,7 @@ func _on_EndFrame_value_changed(value: float) -> void:
|
||||||
canvas_preview.end_sprite_sheet_frame = value
|
canvas_preview.end_sprite_sheet_frame = value
|
||||||
if start_frame.value > value:
|
if start_frame.value > value:
|
||||||
start_frame.value = value
|
start_frame.value = value
|
||||||
canvas_preview.frame = value - 1
|
canvas_preview.frame_index = value - 1
|
||||||
canvas_preview.update()
|
canvas_preview.update()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue