From 5c3e712203e5b6f91f665549e95c77952505fbad Mon Sep 17 00:00:00 2001 From: Drini Cami Date: Tue, 18 Feb 2020 14:21:19 -0500 Subject: [PATCH] 4.5.1 --- BookReader/BookReader.css | 2 ++ BookReader/BookReader.js | 2 +- CHANGELOG.md | 6 ++++++ package-lock.json | 2 +- package.json | 6 ++++-- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/BookReader/BookReader.css b/BookReader/BookReader.css index c9d6e9c81..03ba61011 100644 --- a/BookReader/BookReader.css +++ b/BookReader/BookReader.css @@ -2014,6 +2014,8 @@ html.mm-background .BookReader { .BRmobileHamburger { background: center center no-repeat transparent; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAATCAYAAABhh3Y4AAAAAXNSR0IArs4c6QAAAFZJREFUSA1jrKmpafv//38xELMx0AgwMjL+AuJeFqAlubS0COR+qPm5TED2FJDNNPIU2FiozybT0o5Rs4dBCDCO5jNKYnE0n1ESeiNI72g+oyiyYfkMAKCpRQemMsj0AAAAAElFTkSuQmCC"); + /* Should use SVG (below). See https://github.com/internetarchive/bookreader/issues/100 */ + /*background: url('data:image/svg+xml;utf8, ') center / 50% 50% no-repeat;*/ display: block; width: 40px; height: 40px; diff --git a/BookReader/BookReader.js b/BookReader/BookReader.js index 87d48415b..716c9c907 100644 --- a/BookReader/BookReader.js +++ b/BookReader/BookReader.js @@ -79,7 +79,7 @@ function BookReader(options) { this.setup(options); } -BookReader.version = '4.5.0'; +BookReader.version = '4.5.1'; // Mode constants BookReader.constMode1up = 1; diff --git a/CHANGELOG.md b/CHANGELOG.md index 50818cbd7..8473bd752 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 4.5.1 +- Fix: Click-to-flip now works in 2up mode zoomed in +- Fix: Image panning sometimes not working +- Fix #144: Hamburger icon only clickable on lines +- Add TestCafe support + # 4.5.0 - ReadAloud now supports jumping backwards - Pressing -/= (or -/+ on numpad) zooms out/in diff --git a/package-lock.json b/package-lock.json index 131d42731..454796bdc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "bookreader", - "version": "4.5.0", + "version": "4.5.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 64acf589b..c2d0fa461 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bookreader", - "version": "4.5.0", + "version": "4.5.1", "description": "The Internet Archive BookReader.", "repository": { "type": "git", @@ -45,7 +45,9 @@ "setupFiles": [ "./env-setup.js" ], - "testPathIgnorePatterns": ["tests/e2e"] + "testPathIgnorePatterns": [ + "tests/e2e" + ] }, "scripts": { "preversion": "npm run test && node scripts/preversion.js",