Media Viewer: Allow to slide faster

This commit is contained in:
Alexander Zinchuk 2021-12-24 01:25:59 +01:00
parent 0196153ab2
commit f6a3828076

View File

@ -333,6 +333,8 @@ const MediaViewer: FC<StateProps & DispatchProps> = ({
threadId,
messageId: id,
origin,
}, {
forceOnHeavyAnimation: true,
}), [chatId, openMediaViewer, origin, threadId]);
useEffect(() => (isOpen ? captureEscKeyListener(() => {