diff options
| author | bobzel <zzzman@gmail.com> | 2022-10-19 12:38:19 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-10-19 12:38:19 -0400 |
| commit | a81ab2e6f75681bc4fb3a7b49d2056144e396b94 (patch) | |
| tree | 6f716c4507d486927914d609fef667d83345d777 /src/client/views/StyleProvider.tsx | |
| parent | 0e3892e63758accd7dae274072ad7893934c3624 (diff) | |
fixed erasing straight line stroke segments caused by intersections with other strokes. cleaned up more with gestures. changed docView lock icon to be part of docDecorations.
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 aadcd7169..a5a886f42 100644 --- a/src/client/views/StyleProvider.tsx +++ b/src/client/views/StyleProvider.tsx @@ -276,7 +276,7 @@ export function DefaultStyleProvider(doc: Opt<Doc>, props: Opt<DocumentViewProps case StyleProp.Decorations: if (props?.ContainingCollectionDoc?._viewType === CollectionViewType.Freeform || doc?.x !== undefined || doc?.y !== undefined) { return doc && - (isBackground() || selected) && + isBackground() && !Doc.IsSystem(doc) && (props?.renderDepth || 0) > 0 && ((doc.type === DocumentType.COL && doc._viewType !== CollectionViewType.Pile) || [DocumentType.RTF, DocumentType.IMG, DocumentType.INK].includes(doc.type as DocumentType)) ? ( |
