mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Don't reset zoom on refresh layout. (#2407)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user