瀏覽代碼

fix: save

gemercheung 1 年之前
父節點
當前提交
84c1111725
共有 2 個文件被更改,包括 3 次插入6 次删除
  1. 1 1
      src/components/Viewer.jsx
  2. 2 5
      src/view/Closing.jsx

+ 1 - 1
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,

+ 2 - 5
src/view/Closing.jsx

@@ -8,7 +8,7 @@ export default function Closing() {
   // eslint-disable-next-line react/prop-types
 
   return (
-    <LazyLoad height={1325}>
+    <LazyLoad height={909} offset={1e4}>
       <div
         css={css`
           width: 100%;
@@ -31,7 +31,6 @@ export default function Closing() {
         </TimeLineTransText>
         <TimeLineTransText>
           <div
-            
             css={css`
               font-size: 24px;
               width: 225px;
@@ -43,11 +42,9 @@ export default function Closing() {
             <p>漢之廣矣,不可泳思</p>
             <p>江之永矣,不可方思</p>
 
-            <p style={{textAlign:'center'}}>结束</p>
+            <p style={{ textAlign: "center" }}>结束</p>
           </div>
         </TimeLineTransText>
-
-
       </div>
     </LazyLoad>
   );