|
@@ -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
|
|
|
// 当还能翻页时候触发
|