Skip to content

Commit

Permalink
Don't reset zoom on refresh layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarl committed Mar 28, 2017
1 parent 2ee4dac commit ea8f5b4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions client/app/scripts/reducers/root.js
Expand Up @@ -257,10 +257,6 @@ export function rootReducer(state = initialState, action) {
}

case ActionTypes.CLICK_FORCE_RELAYOUT: {
if (action.forceRelayout) {
// Reset the zoom cache when forcing relayout.
state = state.deleteIn(activeTopologyZoomCacheKeyPathSelector(state));
}
return state.set('forceRelayout', action.forceRelayout);
}

Expand Down

0 comments on commit ea8f5b4

Please sign in to comment.