Skip to content

Commit

Permalink
chore: chore
Browse files Browse the repository at this point in the history
  • Loading branch information
Satoru committed Aug 2, 2023
1 parent 348be04 commit d2e6fbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
<!-- ![Mirador layer slideshow example](assets/demo.gif) -->

<img src="assets/demo.gif" width="100%" title="Mirador layer slideshow example">

## Configuration
Several configuration options are available on windows that use mirador-layer-slideshow.
Expand Down
11 changes: 0 additions & 11 deletions src/plugins/miradorLayerSlideshowPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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',
Expand Down

0 comments on commit d2e6fbd

Please sign in to comment.