From f65b272760048331e142bf9c97be952dc87166ed Mon Sep 17 00:00:00 2001 From: Florrie Date: Wed, 25 Jul 2018 13:27:03 -0300 Subject: Space for scrollbar in menu --- ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui.js') diff --git a/ui.js b/ui.js index afb2731..f92d259 100644 --- a/ui.js +++ b/ui.js @@ -1477,8 +1477,8 @@ class ContextMenu extends FocusElement { let height = Math.min(10, this.form.inputs.length) - width += 2 // Space for the pane border - height += 2 + width += 3 // Space for the pane border and scrollbar + height += 2 // Space for the pane border this.w = width this.h = height -- cgit 1.3.0-6-gf8a5