Доработки двухстраничного режима

This commit is contained in:
Book Pauk
2021-02-04 20:34:25 +07:00
parent cfc946ad12
commit 52f9131f99
4 changed files with 17 additions and 5 deletions

View File

@@ -317,7 +317,7 @@ export default class DrawHelper {
}
async doPageAnimationRightShift(page1, page2, duration, isDown, animation1Finish) {
const s = this.w + this.fontSize;
const s = this.boxW + this.fontSize;
if (isDown) {
page1.style.transform = `translateX(${s}px)`;