diff --git a/app/modifiers/ui_select.js b/app/modifiers/ui_select.js index 4b24725c279308798eb31f6ba525e290b16b219d..02438b77130c7d0f6533225e6d04234aef6ad05c 100644 --- a/app/modifiers/ui_select.js +++ b/app/modifiers/ui_select.js @@ -42,7 +42,6 @@ class Rectangle { let x_is_within = false, y_is_within = false; - if (this.x <= x && x <= this.x + this.width) { x_is_within = true; } @@ -96,7 +95,7 @@ class UISelect { } update(x, y) { - let height, width, top, left, at_least_one_selected = false; + let height, width, top, left; this.show(x, y);