1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fix brush preview turning white for a moment when switching tools

Continuation of b7c34f42
This commit is contained in:
Emmanouil Papadeas 2024-12-09 13:38:58 +02:00
parent aa5c1d3182
commit 3c3de7823a

View file

@ -395,3 +395,4 @@ func _exit_tree() -> void:
if is_moving: if is_moving:
draw_end(Global.canvas.current_pixel.floor()) draw_end(Global.canvas.current_pixel.floor())
Global.canvas.previews_sprite.texture = null Global.canvas.previews_sprite.texture = null
Global.canvas.indicators.queue_redraw()