From 72bdb223b826c6ee5d26c4d08a5c6dbe2bbc9879 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 17 May 2020 19:39:34 +0200 Subject: [PATCH] lint --- src/client/ui/ui-dragresize.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/ui/ui-dragresize.js b/src/client/ui/ui-dragresize.js index 4df72d5c..1d745f03 100644 --- a/src/client/ui/ui-dragresize.js +++ b/src/client/ui/ui-dragresize.js @@ -146,8 +146,7 @@ class UiDragResize extends UiWidget { this.handles[i].style.display = handlesVisibility[i] ? '' : 'none' } - var parent = widget.parentNode, - lefts = widgets.map(w => w.container.offsetLeft), + var lefts = widgets.map(w => w.container.offsetLeft), tops = widgets.map(w => w.container.offsetTop), rights = widgets.map(w => w.container.offsetLeft + w.container.offsetWidth), bottoms = widgets.map(w => w.container.offsetTop + w.container.offsetHeight)