Browse Source

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

黄琪勇 3 days ago
parent
commit
ec1b27bf23
1 changed files with 1 additions and 1 deletions
  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
       // 当还能翻页时候触发