diff --git a/.env b/.env index 5ab807e0..67f95c4e 100644 --- a/.env +++ b/.env @@ -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 diff --git a/src/components/chat/selection.ts b/src/components/chat/selection.ts index 8b8108ee..84c2831e 100644 --- a/src/components/chat/selection.ts +++ b/src/components/chat/selection.ts @@ -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)`; }