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

Fix pencil/eraser/shading previews turning white for a brief moment when changing image brushes

This commit is contained in:
Emmanouil Papadeas 2024-12-06 04:11:05 +02:00
parent 1ea80a342a
commit b7c34f4233

View file

@ -212,6 +212,8 @@ func update_brush() -> void:
$DensityValueSlider.visible = _brush.type not in IMAGE_BRUSHES $DensityValueSlider.visible = _brush.type not in IMAGE_BRUSHES
$ColorInterpolation.visible = _brush.type in IMAGE_BRUSHES $ColorInterpolation.visible = _brush.type in IMAGE_BRUSHES
$RotationOptions.visible = _brush.type in IMAGE_BRUSHES $RotationOptions.visible = _brush.type in IMAGE_BRUSHES
var canvas_indicators := Global.canvas.indicators
canvas_indicators.queue_redraw()
func update_random_image() -> void: func update_random_image() -> void: