From f82fd5f51965974b1aa50d642cd8405e4d1dcc70 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 9 Mar 2020 12:57:27 -0400 Subject: [PATCH] fixed if last click is null, shift click crashed issue --- src/js/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/popup.js b/src/js/popup.js index 7fb001b..6dbd576 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -1064,7 +1064,7 @@ Logic.registerPanel(P_CONTAINERS_EDIT, { const currentSelectedIdentity = Logic.currentSelectedIdentities(); const index = currentSelectedIdentity.indexOf(identity); - if (this.shiftOn === 0) { + if (!this.lastSelected || this.shiftOn === 0) { this.lastSelected = identity; }