diff options
| author | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-18 04:38:08 +0800 |
|---|---|---|
| committer | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-18 04:38:08 +0800 |
| commit | 57d4c562b6f0ef39dcd68f2985a56c4a683fcf49 (patch) | |
| tree | bd288564c7f574aa81b314ef6c7fa8400ec846e7 /src/client/views/collections/CollectionStackingView.tsx | |
| parent | 79d9ccbe68d0e567eba1daae0500d9ddba177b1b (diff) | |
pdf changes + radial menu + create new workspaces
(bug with ink)
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index 797aabf18..9f1b5d63c 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -476,7 +476,7 @@ export class CollectionStackingView extends CollectionSubView(StackingDocument) transformOrigin: "top left", }} onScroll={action(e => { - if (!this.props.isSelected() && this.props.renderDepth && window.innerWidth > 1000) e.currentTarget.scrollTop = this._scroll; + if (!this.props.isSelected() && this.props.renderDepth && window.screen.width > 600) e.currentTarget.scrollTop = this._scroll; else this._scroll = e.currentTarget.scrollTop; })} onDrop={this.onExternalDrop.bind(this)} |
