Skip to content
Snippets Groups Projects
Commit b0a33897 authored by Chris Beer's avatar Chris Beer
Browse files

Fix zoom controls after state changes from #1904

parent 7e6fdb3d
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ import ZoomControls from '../components/ZoomControls'; ...@@ -12,7 +12,7 @@ import ZoomControls from '../components/ZoomControls';
const mapStateToProps = (state, props) => ( const mapStateToProps = (state, props) => (
{ {
showZoomControls: state.workspace.showZoomControls, showZoomControls: state.workspace.showZoomControls,
viewer: state.windows[props.windowId].viewer, viewer: state.viewers[props.windowId],
} }
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment