fixes (button obscure content)
MODIFY
plugins/hypothesis/main.js
plugins/hypothesis/main.js
@@ -16,7 +16,11 @@ define(['readium_js_plugins'], function (Plugins) {
window.hypothesisConfig = function () {
return {
onLayoutChange: function(state) {
+ if (state.expanded) {
self.emit('offsetPageButton', state.width);
+ } else {
+ self.emit('offsetPageButton', 0);
+ }
if (!state.expanded) {
self.emit('offsetNavBar', state.width);
}

fixes https://github.com/readium/readium-js-viewer/issues/650 (button obscure content)