From be7d49165c4e77326554ca90a21f82f211dce6b9 Mon Sep 17 00:00:00 2001 From: btzr-io Date: Wed, 22 May 2019 23:35:48 -0600 Subject: [PATCH] update villain-reader --- src/ui/component/viewers/comicBookViewer.jsx | 3 ++- yarn.lock | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/ui/component/viewers/comicBookViewer.jsx b/src/ui/component/viewers/comicBookViewer.jsx index d530f6299..780d60fa1 100644 --- a/src/ui/component/viewers/comicBookViewer.jsx +++ b/src/ui/component/viewers/comicBookViewer.jsx @@ -1,7 +1,6 @@ // @flow import * as React from 'react'; import Villain from 'villain'; - import 'villain/dist/style.css'; type Props = { @@ -13,6 +12,8 @@ type Props = { const opts = { workerPath: '/webworkers/worker-bundle.js', + allowFullScreen: false, + autoHideControls: true, }; class ComicBookViewer extends React.PureComponent { diff --git a/yarn.lock b/yarn.lock index 72b2ecd2b..cf8a2db82 100644 --- a/yarn.lock +++ b/yarn.lock @@ -762,7 +762,7 @@ pirates "^4.0.0" source-map-support "^0.5.9" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.2.0", "@babel/runtime@^7.3.1": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.2.0", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.3": version "7.4.5" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.4.5.tgz#582bb531f5f9dc67d2fcb682979894f75e253f12" integrity sha512-TuI4qpWZP6lGOGIuGWtp9sPluqYICmbk8T/1vpSysqJxRPkudh/ofFWyqdcMsDf2s7KvDL4/YHgKyvcS3g9CJQ== @@ -7907,12 +7907,12 @@ opener@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.1.tgz#6d2f0e77f1a0af0032aca716c2c1fbb8e7e8abed" integrity sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA== - + openseadragon@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/openseadragon/-/openseadragon-2.4.0.tgz#d0b28b37a953602c82432a0dbd8a3779dadf756f" integrity sha512-e2fsoEiCDkmwc3vyrv396lkYu4c9CGlpbSX4kYE07eW0ZlEF5DnLbeY2PhqPTskkC1jlsPu2TGZwaZ9VhaAn/w== - + opn@^5.5.0: version "5.5.0" resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" @@ -9498,7 +9498,7 @@ react-toggle@^4.0.2: dependencies: classnames "^2.2.5" -react@^16.8.2: +react@^16.8.2, react@^16.8.6: version "16.8.6" resolved "https://registry.yarnpkg.com/react/-/react-16.8.6.tgz#ad6c3a9614fd3a4e9ef51117f54d888da01f2bbe" integrity sha512-pC0uMkhLaHm11ZSJULfOBqV4tIZkx87ZLvbbQYunNixAAvjnC+snJCg0XQXn9VIsttVsbZP/H/ewzgsd5fxKXw== @@ -11805,8 +11805,8 @@ videostream@^2.5.1: range-slice-stream "^2.0.0" villain@btzr-io/Villain: - version "0.0.3" - resolved "https://codeload.github.com/btzr-io/Villain/tar.gz/1a3d3ca9948e86cad65ca0fda00a10e0bc9275c6" + version "0.0.4" + resolved "https://codeload.github.com/btzr-io/Villain/tar.gz/e587ed3c7b3499e6250f557f3891f040da5a6846" dependencies: clsx "^1.0.4" libarchive.js "^1.1.0"