From b0a338976fc50edf6f1f65c6dcfc25ef348be5e1 Mon Sep 17 00:00:00 2001
From: Chris Beer <cabeer@stanford.edu>
Date: Tue, 19 Feb 2019 07:25:31 -0800
Subject: [PATCH] Fix zoom controls after state changes from #1904

---
 src/containers/ZoomControls.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/containers/ZoomControls.js b/src/containers/ZoomControls.js
index 9c99d6cb9..a7acfd982 100644
--- a/src/containers/ZoomControls.js
+++ b/src/containers/ZoomControls.js
@@ -12,7 +12,7 @@ import ZoomControls from '../components/ZoomControls';
 const mapStateToProps = (state, props) => (
   {
     showZoomControls: state.workspace.showZoomControls,
-    viewer: state.windows[props.windowId].viewer,
+    viewer: state.viewers[props.windowId],
   }
 );
 
-- 
GitLab