diff options
author | bob <bcz@cs.brown.edu> | 2019-10-24 15:24:15 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-10-24 15:24:15 -0400 |
commit | 614408ec1bacf19593acef595e0e32d8de2216cd (patch) | |
tree | 8c7a02f1f4f652635ea697f0347e3005891333a0 /src | |
parent | cf9fff0cf86e120cd4d26169ce8455bd8b438b24 (diff) |
fixed (a little) docking creators panel sizing
Diffstat (limited to 'src')
-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 7af56500e..96940acbc 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -128,7 +128,7 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) { }, (hgt: number) => { let doc = hgt === -1 ? undefined : this.props.DataDoc && this.props.DataDoc.layout === this.layoutDoc ? this.props.DataDoc : this.layoutDoc; - doc && (Doc.Layout(doc).height = hgt); + doc && hgt > 0 && (Doc.Layout(doc).height = hgt); }, { fireImmediately: true } ); |