From d2e6fbd476773f53fbd3c66506502cf986cabe86 Mon Sep 17 00:00:00 2001 From: Satoru Date: Thu, 3 Aug 2023 08:39:23 +0900 Subject: [PATCH] chore: chore --- README.md | 4 +++- src/plugins/miradorLayerSlideshowPlugin.js | 11 ----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 593be24..8d860da 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,9 @@ `mirador-layer-slideshow` is a [Mirador 3](https://github.com/projectmirador/mirador) plugin that adds layer slideshow. -![Mirador layer slideshow example](assets/demo.gif) + + + ## Configuration Several configuration options are available on windows that use mirador-layer-slideshow. diff --git a/src/plugins/miradorLayerSlideshowPlugin.js b/src/plugins/miradorLayerSlideshowPlugin.js index 5346ec3..7d03ecd 100644 --- a/src/plugins/miradorLayerSlideshowPlugin.js +++ b/src/plugins/miradorLayerSlideshowPlugin.js @@ -142,8 +142,6 @@ const mapStateToProps = (state, { windowId }) => { const zoom = (viewers[windowId] && viewers[windowId].zoom) || 0; const layersObj = getLayers(manifests, canvasId); - console.log({ layersObj }); - return { containerId: getContainerId(state), enabled: getWindowConfig(state, { windowId }).layerSlideshowEnabled || false, @@ -168,15 +166,6 @@ const mapStateToProps = (state, { windowId }) => { export default [ { target: 'OpenSeadragonViewer', - /* - _mapDispatchToProps: { - updateWindow: actions.updateWindow, - }, - mapDispatchToProps: (dispatch, { windowId }) => ({ - updateWindow: actions.updateWindow, - ...mapDispatchToProps(dispatch, { windowId }), - }), - */ mapDispatchToProps, mapStateToProps, mode: 'add',