TBD: remove bg color when disabling polygon
This commit is contained in:
parent
b3eb93f130
commit
012076a3e9
@ -147,10 +147,12 @@ export const actionToggleLoopLock = register({
|
|||||||
return element;
|
return element;
|
||||||
}
|
}
|
||||||
|
|
||||||
return newElementWith(
|
return newElementWith(element, {
|
||||||
element,
|
backgroundColor: newLoopLockState
|
||||||
toggleLinePolygonState(element, newLoopLockState),
|
? element.backgroundColor
|
||||||
);
|
: "transparent",
|
||||||
|
...toggleLinePolygonState(element, newLoopLockState),
|
||||||
|
});
|
||||||
}),
|
}),
|
||||||
appState,
|
appState,
|
||||||
captureUpdate: CaptureUpdateAction.IMMEDIATELY,
|
captureUpdate: CaptureUpdateAction.IMMEDIATELY,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user