From 4cf694936668b0a8fdf47c2c83342128ca7880d3 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Fri, 20 Mar 2020 15:09:27 +0100 Subject: [PATCH] Update live brush when scaling the radius --- Sources/arm/render/Inc.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/arm/render/Inc.hx b/Sources/arm/render/Inc.hx index 9cdbc301..f585f093 100644 --- a/Sources/arm/render/Inc.hx +++ b/Sources/arm/render/Inc.hx @@ -180,7 +180,7 @@ class Inc { var in2dView = UIView2D.inst.show && UIView2D.inst.type == View2DLayer && mx > UIView2D.inst.wx && mx < UIView2D.inst.wx + UIView2D.inst.ww && my > UIView2D.inst.wy && my < UIView2D.inst.wy + UIView2D.inst.wh; - if ((mx != lastX || my != lastY) && (inViewport || in2dView)) { + if ((mx != lastX || my != lastY || UISidebar.inst.brushLocked) && (inViewport || in2dView)) { Context.rdirty = 2; UISidebar.inst.sub = 0; }