aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-06-02 13:31:54 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-06-02 13:31:54 -0400
commitfdde776c4b35d15a9f017dc3f41c0ca9ebd05597 (patch)
treec73fb382cca0e57d8e214da75f7725b363a5c420 /src
parentb86a60410675f6cf6e46c56bc12cf689245583f0 (diff)
from last
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionStackingView.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx
index 6820746db..62af92633 100644
--- a/src/client/views/collections/CollectionStackingView.tsx
+++ b/src/client/views/collections/CollectionStackingView.tsx
@@ -21,10 +21,6 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) {
get columnWidth() { return this.singleColumn ? this.props.PanelWidth() - 2 * this.gridSize - this.gridGap : NumCast(this.props.Document.columnWidth, 250); }
componentDidMount() {
- reaction(() => [this.props.PanelWidth()],
- () => {
- this.props.Document.columnWidth = this.props.PanelWidth() - 2 * this.gridSize - this.gridGap;
- }, { fireImmediately: true });
this._heightDisposer = reaction(() => [this.childDocs.map(d => [d[HeightSym](), d.isMinimized]), this.props.PanelWidth()],
() => {
if (this.singleColumn) {