Solves group more than 2 elements
This commit is contained in:
orosptq 2025-02-17 10:25:53 +01:00 committed by GitHub
parent e791cb342e
commit 7016cfd37b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1688,7 +1688,7 @@ class SimpleKeyboard {
updated_startIndex,
updated_endIndex - updated_startIndex + 1
);
removedElements = updated_endIndex - updated_startIndex;
removedElements += updated_endIndex - updated_startIndex;
/**
* Inserting elements to container