Update live brush when scaling the radius

This commit is contained in:
luboslenco
2020-03-20 15:09:27 +01:00
parent 638b1a6b0a
commit 4cf6949366
+1 -1
View File
@@ -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;
}