瀏覽代碼

Merge branch 'hqyDevNewVersion' of http://git.dayaedu.com/liushengqiang/music-score into ktyq-test-new

黄琪勇 3 天之前
父節點
當前提交
ec1b27bf23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/page-instrument/view-detail/smoothAnimation/index.ts

+ 1 - 1
src/page-instrument/view-detail/smoothAnimation/index.ts

@@ -234,7 +234,7 @@ function pageTurn_osmd(nowPointsPos: pointsPosType[0]) {
       smoothAnimationState.translateXNum = 0
       smoothAnimationState.osdmScrollDom!.scrollLeft = nowPointsPos.x - clientWidth * 0.1
       moveTranslateXNum(smoothAnimationState.translateXNum)
-   } else if (right > clientWidth * 0.8) {
+   } else if (right > clientWidth * 0.85) {
       const osdmScrollDomScrollLeft = smoothAnimationState.osdmScrollDom?.scrollLeft || 0
       const maxTranslateXNum = smoothAnimationState.canvasDomWith - smoothAnimationState.osdmScrollDomWith - osdmScrollDomScrollLeft
       // 当还能翻页时候触发