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 newElementWith(
|
||||
element,
|
||||
toggleLinePolygonState(element, newLoopLockState),
|
||||
);
|
||||
return newElementWith(element, {
|
||||
backgroundColor: newLoopLockState
|
||||
? element.backgroundColor
|
||||
: "transparent",
|
||||
...toggleLinePolygonState(element, newLoopLockState),
|
||||
});
|
||||
}),
|
||||
appState,
|
||||
captureUpdate: CaptureUpdateAction.IMMEDIATELY,
|
||||
|
Loading…
x
Reference in New Issue
Block a user