aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-03-29 19:11:16 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-03-29 19:11:16 -0400
commitc0335eab060206d49020239788c43bb0626a467c (patch)
treeb035a02329ddefba152256d530884ace999ed81f /src/client/views/collections/CollectionStackingView.tsx
parentd5720dcd52dc646fa204c8798b9761010778288f (diff)
fixed collection chrome pointerEvents. fixed dontSelect to allow right-clicking. got rid of '@" template field special case
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
-rw-r--r--src/client/views/collections/CollectionStackingView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx
index 719778eb1..9d5500e1a 100644
--- a/src/client/views/collections/CollectionStackingView.tsx
+++ b/src/client/views/collections/CollectionStackingView.tsx
@@ -170,7 +170,7 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) {
const height = () => this.getDocHeight(doc);
return <ContentFittingDocumentView
Document={doc}
- DataDocument={doc[DataSym] !== doc && doc[DataSym]}
+ DataDocument={dataDoc || (doc[DataSym] !== doc && doc[DataSym])}
backgroundColor={this.props.backgroundColor}
LayoutDoc={this.props.childLayoutTemplate}
LibraryPath={this.props.LibraryPath}