mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix pencil/eraser/shading previews turning white for a brief moment when changing image brushes
This commit is contained in:
parent
1ea80a342a
commit
b7c34f4233
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue