diff options
author | bobzel <zzzman@gmail.com> | 2021-01-28 14:28:27 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-01-28 14:28:27 -0500 |
commit | bc4cabf751097e847f0c64cc5acc25bc1ee09243 (patch) | |
tree | e752ae8a8dcdb7e2b71f11ef85cdb585443f7772 /src/client/views/StyleProvider.tsx | |
parent | 61076c3ca711a8d3af01010b2375e3683e26fb8d (diff) |
more cleanup for switching back to parameterized audioTag/videoTag instead of anchorStartTag
Diffstat (limited to 'src/client/views/StyleProvider.tsx')
-rw-r--r-- | src/client/views/StyleProvider.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/StyleProvider.tsx b/src/client/views/StyleProvider.tsx index 803390055..3956b8c5b 100644 --- a/src/client/views/StyleProvider.tsx +++ b/src/client/views/StyleProvider.tsx @@ -141,7 +141,7 @@ export function DefaultStyleProvider(doc: Opt<Doc>, props: Opt<FieldViewProps | `${darkScheme() ? "rgb(30, 32, 31) " : "#9c9396 "} ${StrCast(doc.boxShadow, "0.2vw 0.2vw 0.8vw")}`); case DocumentType.LABEL: - if (doc?.anchorStartTime !== undefined) return "black 2px 2px 1px"; + if (doc?.annotationOn !== undefined) return "black 2px 2px 1px"; default: return doc.z ? `#9c9396 ${StrCast(doc?.boxShadow, "10px 10px 0.9vw")}` : // if it's a floating doc, give it a big shadow props?.ContainingCollectionDoc?._useClusters && doc.type !== DocumentType.INK ? (`${backgroundCol()} ${StrCast(doc.boxShadow, `0vw 0vw ${(isBackground() ? 100 : 50) / (docProps?.ContentScaling?.() || 1)}px`)}`) : // if it's just in a cluster, make the shadown roughly match the cluster border extent |