From b9246fdd3e48f7ec87e64f2d1993861279e128c3 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Sun, 15 Apr 2012 15:18:21 +0000 Subject: [PATCH] --- inc/ws/Util/html5/class.ws.html5.compiler.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/ws/Util/html5/class.ws.html5.compiler.php b/inc/ws/Util/html5/class.ws.html5.compiler.php index 191d8646b..919460624 100644 --- a/inc/ws/Util/html5/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/class.ws.html5.compiler.php @@ -529,10 +529,10 @@ class wsHTML5Compiler { $res[] = '.landscape #fluidbook{left:' . $offsetLeft2 . 'px;}'; $res[] = '.portrait #pages,.portrait .doublePage.page,.page,.portrait #shadow,#shadow.single,.page .links,.doublePage._3d{width:' . $w . ';max-width:' . $w . ';height:' . $h . ';max-height:' . $h . '}'; $res[] = '.doublePage,#pages,.landscape #shadow.double{width:' . $w2 . ';max-width:' . $w2 . ';height:' . $h . ';max-height:' . $h . '}'; - $res[] = '.landscape .doublePage._2d.next{' . $this->writeCSSUA('transform', 'translate(' . $w2 . ',0)') . '}'; - $res[] = '.landscape .doublePage._2d.prev{' . $this->writeCSSUA('transform', 'translate(-' . $w2 . ',0)') . '}'; - $res[] = '.portrait .doublePage._2d.next{' . $this->writeCSSUA('transform', 'translate(' . $w . ',0)') . '}'; - $res[] = '.portrait .doublePage._2d.prev{' . $this->writeCSSUA('transform', 'translate(-' . $w . ',0)') . '}'; + $res[] = '.landscape .doublePage._2d.next{' . $this->writeCSSUA('transform', 'translate3d(' . $w2 . ',0,0)') . '}'; + $res[] = '.landscape .doublePage._2d.prev{' . $this->writeCSSUA('transform', 'translate3d(-' . $w2 . ',0,0)') . '}'; + $res[] = '.portrait .doublePage._2d.next{' . $this->writeCSSUA('transform', 'translate3d(' . $w . ',0,0)') . '}'; + $res[] = '.portrait .doublePage._2d.prev{' . $this->writeCSSUA('transform', 'translate3d(-' . $w . ',0,0)') . '}'; $res[] = '.doublePage._3d{left:' . $w . ';}'; $res[] = '.landscape #shadow.single.right{left: ' . $w . ';}'; $res[] = '.landscape .page.right{left:' . $w . '}'; -- 2.39.5