mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Ensure that the preview clears when switching to a different tool
This commit is contained in:
parent
a2e5d165cb
commit
9899734090
|
@ -374,3 +374,4 @@ func _add_polylines_segment(lines: Array, start: Vector2i, end: Vector2i) -> voi
|
|||
func _exit_tree() -> void:
|
||||
if is_moving:
|
||||
draw_end(Global.canvas.current_pixel.floor())
|
||||
Global.canvas.previews_sprite.texture = null
|
||||
|
|
Loading…
Reference in a new issue