Browse Source

Fix cancelling multiselect

master
morethanwords 3 years ago
parent
commit
2318b3bf7c
  1. 4
      .env
  2. 2
      src/components/chat/selection.ts

4
.env

@ -1,5 +1,5 @@ @@ -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

2
src/components/chat/selection.ts

@ -941,7 +941,7 @@ export default class ChatSelection extends AppSelection { @@ -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)`;
}

Loading…
Cancel
Save