From fdde776c4b35d15a9f017dc3f41c0ca9ebd05597 Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Sun, 2 Jun 2019 13:31:54 -0400 Subject: from last --- src/client/views/collections/CollectionStackingView.tsx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2