fixed if last click is null, shift click crashed issue
This commit is contained in:
parent
69beb7ae40
commit
f82fd5f519
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue