diff --git a/src/Flip/Flip.ts b/src/Flip/Flip.ts index d918d65..bb3b307 100644 --- a/src/Flip/Flip.ts +++ b/src/Flip/Flip.ts @@ -254,7 +254,7 @@ export class Flip { */ public flipPrev(corner: FlipCorner): void { this.flip({ - x: 10, + x: this.render.getRect().left + 10, y: corner === FlipCorner.TOP ? 1 : this.render.getRect().height - 2, }); }