Skip to content

Commit

Permalink
4.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrini committed Feb 21, 2020
1 parent e32f561 commit 5c3e712
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
2 changes: 2 additions & 0 deletions BookReader/BookReader.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,<svg width="15px" height="12px" viewBox="0 0 15 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g id="hamburger-svg" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="square"> <path d="M0,1 L14,1" id="Line" stroke="#000000"></path> <path d="M2.39808173e-14,6 L14,6" id="Line-Copy" stroke="#000000"></path> <path d="M1.15463195e-14,11 L14,11" id="Line-Copy-2" stroke="#000000"></path> </g></svg>') center / 50% 50% no-repeat;*/
display: block;
width: 40px;
height: 40px;
Expand Down
2 changes: 1 addition & 1 deletion BookReader/BookReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bookreader",
"version": "4.5.0",
"version": "4.5.1",
"description": "The Internet Archive BookReader.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -45,7 +45,9 @@
"setupFiles": [
"./env-setup.js"
],
"testPathIgnorePatterns": ["tests/e2e"]
"testPathIgnorePatterns": [
"tests/e2e"
]
},
"scripts": {
"preversion": "npm run test && node scripts/preversion.js",
Expand Down

0 comments on commit 5c3e712

Please sign in to comment.