From d9acd8871f04c0474deb0f64c9a130e7efca6f5d Mon Sep 17 00:00:00 2001
From: Glenn Fischer <gfischer@ub.uni-leipzig.de>
Date: Tue, 12 Mar 2019 10:20:54 +0100
Subject: [PATCH] remove obsolete cases for windowsReducer

---
 src/state/reducers/windows.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/state/reducers/windows.js b/src/state/reducers/windows.js
index 597ba2111..8a0818767 100644
--- a/src/state/reducers/windows.js
+++ b/src/state/reducers/windows.js
@@ -90,10 +90,6 @@ export const windowsReducer = (state = {}, action) => {
           y: action.payload.size.y,
         },
       };
-    case ActionTypes.NEXT_CANVAS:
-      return setCanvasIndex(state, action.windowId, currentIndex => currentIndex + 1);
-    case ActionTypes.PREVIOUS_CANVAS:
-      return setCanvasIndex(state, action.windowId, currentIndex => currentIndex - 1);
     case ActionTypes.SET_CANVAS:
       return setCanvasIndex(state, action.windowId, currentIndex => action.canvasIndex);
     case ActionTypes.ADD_COMPANION_WINDOW:
-- 
GitLab