Merge pull request #2462 from orosptq/patch-1. Fixes #2460

Issue #2460
This commit is contained in:
Francisco Hodge 2025-02-17 11:45:53 -05:00 committed by GitHub
commit 9ab084ac05
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