Browse Source

fix: save

gemercheung 1 year ago
parent
commit
fda7ddf5ce
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/components/Viewer.jsx

+ 1 - 3
src/components/Viewer.jsx

@@ -247,7 +247,7 @@ class ViewerInner extends Component {
               !this.notLoadedTween.isActive
             ) {
               this.props.debug && console.warn(this.props.path, "fast forward");
-              this.enterShowElements();
+              // this.enterShowElements();
               this.notLoadedTween = gsap.to(this.processBarRef.current, {
                 backgroundColor: "#8888a0",
                 duration: 0.33,
@@ -457,7 +457,6 @@ class ViewerInner extends Component {
     const progressingPreload =
       100 - (this.frame / this.fullFrameCount) * 100 + "%";
     const progressing = 100 - (index / this.fullFrameCount) * 100 + "%";
-    // console.log("handleSyncProessBar", this.processingRef.current);
     if (this.preProcessingRef.current) {
       this.playPreBarTween = gsap.to(this.preProcessingRef.current, {
         duration: 0.05,
@@ -501,7 +500,6 @@ class ViewerInner extends Component {
             background-color: rgba(17, 17, 34, 0.6);
             height: 4px;
             z-index: 9;
-            // visibility: hidden;
           `}
         >
           <div