action on ViewportPanes for setting the active viewport
This commit is contained in:
1 parent
30caec0043
commit
9b75d95e48
3 files changed
+30
-2
No files matched your search
@@ -54,8 +54,8 @@ function App({ config, defaultExtensions }) {
|
||||
console.log(state, action);
|
||||
|
||||
switch (action.type) {
|
||||
case 'DO_TODO':
|
||||
return state;
|
||||
case 'SET_ACTIVE_VIEWPORT_INDEX':
|
||||
return { ...state, ...{ activeViewportIndex: action.payload } };
|
||||
default:
|
||||
return action.payload;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user