diff options
author | bobzel <zzzman@gmail.com> | 2022-11-10 22:54:02 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-11-10 22:54:02 -0500 |
commit | e7995c366381e5f813ddcb3babc90c8b51e407b6 (patch) | |
tree | 82fb8aac24107e3be9a6931b350e5eeb2b884949 /src/client/views/InkingStroke.tsx | |
parent | 778b251de77078ecb6d3570641b4472d842a1f77 (diff) |
fixed inkMaskStrokes
Diffstat (limited to 'src/client/views/InkingStroke.tsx')
-rw-r--r-- | src/client/views/InkingStroke.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx index b83ba97e7..8fbe6d7c1 100644 --- a/src/client/views/InkingStroke.tsx +++ b/src/client/views/InkingStroke.tsx @@ -391,7 +391,9 @@ export class InkingStroke extends ViewBoxBaseComponent<FieldViewProps>() { false ); const highlightIndex = /*BoolCast(this.props.Document.isLinkButton) && */ Doc.isBrushedHighlightedDegree(this.props.Document); // bcz: Argh!! need to identify a tree view doc better than a LayoutTemlatString - const highlightColor = !highlightIndex + const highlightColor = isInkMask + ? 'transparent' + : !highlightIndex ? StrCast(this.layoutDoc.strokeOutlineColor, !closed && fillColor && fillColor !== 'transparent' ? StrCast(this.layoutDoc.color, 'transparent') : 'transparent') : ['transparent', 'rgb(68, 118, 247)', 'rgb(68, 118, 247)', 'yellow', 'magenta', 'cyan', 'orange'][highlightIndex]; // Invisible polygonal line that enables the ink to be selected by the user. |