mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Fix Pencil bug with transparent colors immediately blending when Overwrite is setto false
This commit is contained in:
parent
0da52326a3
commit
db8ded9d66
|
@ -78,7 +78,10 @@ func draw_start(position: Vector2) -> void:
|
||||||
_picking_color = false
|
_picking_color = false
|
||||||
|
|
||||||
Global.canvas.selection.transform_content_confirm()
|
Global.canvas.selection.transform_content_confirm()
|
||||||
update_mask()
|
var can_skip_mask := true
|
||||||
|
if tool_slot.color.a < 1 and !_overwrite:
|
||||||
|
can_skip_mask = false
|
||||||
|
update_mask(can_skip_mask)
|
||||||
_changed = false
|
_changed = false
|
||||||
_drawer.color_op.changed = false
|
_drawer.color_op.changed = false
|
||||||
_drawer.color_op.overwrite = _overwrite
|
_drawer.color_op.overwrite = _overwrite
|
||||||
|
|
Loading…
Reference in a new issue