Przeglądaj źródła

迎合以前顺序

Karl Chen 7 lat temu
rodzic
commit
212db32d05
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/fullscreen.js

+ 1 - 1
src/fullscreen.js

@@ -8,8 +8,8 @@ class FullScreen {
             this.player.resize();
         });
         this.player.events.on('webfullscreen_cancel', () => {
-            utils.setScrollPosition(this.lastScrollPosition);
             this.player.resize();
+            utils.setScrollPosition(this.lastScrollPosition);
         });
 
         const fullscreenchange = () => {