diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-10-21 01:02:07 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-10-21 01:02:07 -0400 |
| commit | e36ee8c6af1105a5ff2dee704f44b575ca2b75de (patch) | |
| tree | fe7244c87b0668eed06e73d6cdaee12fa2f5bfb9 /src/client/views/collections/CollectionStackingView.tsx | |
| parent | 99cc00b9a0d83413acf99d8c1e9854484e831069 (diff) | |
fixed masonry view resizing
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 21c266b7e..1bb2d2f46 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -220,7 +220,7 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) { let dragPos = this.props.ScreenToLocalTransform().transformPoint(e.clientX, e.clientY)[0]; let delta = dragPos - this._columnStart; this._columnStart = dragPos; - this.layoutDoc.columnWidth = this.columnWidth + delta; + this.layoutDoc.columnWidth = Math.max(10, this.columnWidth + delta); } @action |
