From d08216e8570dd6d6c27257345b99d793008cfeb6 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 28 Jan 2019 14:56:14 +0100 Subject: [PATCH] fix lint --- src/resizer/distributors/roomsublist2.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/resizer/distributors/roomsublist2.js b/src/resizer/distributors/roomsublist2.js index aede4938fa..e3559c54f3 100644 --- a/src/resizer/distributors/roomsublist2.js +++ b/src/resizer/distributors/roomsublist2.js @@ -72,7 +72,7 @@ export class Layout { this._getMinHeight(i), this._getMaxHeight(i), ); - }; + } }); this._sections = sections; this._applyNewSize(); @@ -143,7 +143,11 @@ export class Layout { let overflowPerSection = blend ? (overflow / sections.length) : overflow; for (const i of sections) { - const newHeight = clamp(this._heights[i] - overflowPerSection, this._getMinHeight(i), this._getMaxHeight(i)); + const newHeight = clamp( + this._heights[i] - overflowPerSection, + this._getMinHeight(i), + this._getMaxHeight(i), + ); if (newHeight == this._heights[i] - overflowPerSection) { unclampedSections.push(i); }