From f0fdaa7c0ad901952ae538a9810f83d6973b3569 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Tue, 6 Dec 2022 21:21:35 -0800 Subject: [PATCH] video: remove transition change --- src/components/PsVideo.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/components/PsVideo.ts b/src/components/PsVideo.ts index 9f5962f6..2a645189 100644 --- a/src/components/PsVideo.ts +++ b/src/components/PsVideo.ts @@ -99,15 +99,6 @@ class VideoContentSetup { pswp.on("close", () => { if (isVideoContent(pswp.currSlide.content)) { - // Switch from zoom to fade closing transition, - // as zoom transition is choppy for videos - if ( - !pswp.options.showHideAnimationType || - pswp.options.showHideAnimationType === "zoom" - ) { - pswp.options.showHideAnimationType = "fade"; - } - // prevent more requests this.destroyVideo(pswp.currSlide.content); }