diff options
author | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-09-02 19:24:03 -0700 |
---|---|---|
committer | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-09-02 19:24:03 -0700 |
commit | 2b3e0ca4f889054020fd9b3c4a1e2db8d57581c1 (patch) | |
tree | e0fed9fcd9fdc62ba28140b52005ad5b728cbb6c /src | |
parent | bbd32b30d20629e808d3aac14ad6a60e81a48daf (diff) |
fix drag issue
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionPileView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionPileView.tsx b/src/client/views/collections/CollectionPileView.tsx index ecb4ee89f..1df30c84e 100644 --- a/src/client/views/collections/CollectionPileView.tsx +++ b/src/client/views/collections/CollectionPileView.tsx @@ -38,7 +38,7 @@ export class CollectionPileView extends CollectionSubView(doc => doc) { layoutEngine = () => StrCast(this.Document._pileLayoutEngine); @computed get contents() { - return <div className="collectionPileView-innards" style={{ pointerEvents: this.layoutEngine() === "starburst" || SnappingManager.GetIsDragging ? undefined : "none", zIndex: this.layoutEngine() === "starburst" && !SnappingManager.GetIsDragging() ? -10 : "auto" }} > + return <div className="collectionPileView-innards" style={{ pointerEvents: this.layoutEngine() === "starburst" ? undefined : "none", zIndex: this.layoutEngine() === "starburst" && !SnappingManager.GetIsDragging() ? -10 : "auto" }} > <CollectionFreeFormView {...this.props} layoutEngine={this.layoutEngine} addDocument={(doc: Doc | Doc[]) => { (doc instanceof Doc ? [doc] : doc).map((d) => DocUtils.iconify(d)); |