Fix cancelling multiselect

This commit is contained in:
morethanwords 2022-01-11 01:28:34 +04:00
parent 581e94bfd3
commit 2318b3bf7c
2 changed files with 3 additions and 3 deletions

4
.env
View File

@ -1,5 +1,5 @@
API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750
VERSION=1.0.1
VERSION_FULL=1.0.1 (55)
BUILD=55
VERSION_FULL=1.0.1 (56)
BUILD=56

View File

@ -941,7 +941,7 @@ export default class ChatSelection extends AppSelection {
left.style.transform = '';
right.style.transform = '';
}
} else {
} else if(this.selectionLeft) {
this.selectionLeft.style.transform = `translateX(-${needTranslateX * 2}px)`;
this.selectionRight.style.transform = `translateX(${needTranslateX * 2}px)`;
}