From 5443eedebc628f3e14b03b1bf69b8b8b2b885461 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Tue, 10 Feb 2015 11:53:56 -0800 Subject: [PATCH] Fixed positioning issue when going to book mode with tall images (m2) --- test/demo/m2/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/demo/m2/js/main.js b/test/demo/m2/js/main.js index 0e86b766..0959cc3e 100644 --- a/test/demo/m2/js/main.js +++ b/test/demo/m2/js/main.js @@ -415,7 +415,7 @@ item = this.viewer.world.getItemAt(this.page - 1); if (item) { box = item.getBounds(); - x -= width; + x -= box.width; width += box.width; } }