From 6e5c4fc99f21943eb510cc2944897f2e12458316 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Mon, 8 Nov 2021 19:26:00 +0200 Subject: [PATCH] Do not keep decreasing opacity with the Eraser without releasing the mouse first Only relevant if the opacity strength is less than 255 in the tool options --- src/Tools/Eraser.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/Eraser.gd b/src/Tools/Eraser.gd index 7a07595c2..fcbfb3c2a 100644 --- a/src/Tools/Eraser.gd +++ b/src/Tools/Eraser.gd @@ -36,7 +36,7 @@ func set_config(config : Dictionary) -> void: func draw_start(position : Vector2) -> void: Global.canvas.selection.transform_content_confirm() - update_mask() + update_mask(_strength == 1) _changed = false _drawer.color_op.changed = false