mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +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);
|
||||
}
|
||||
|
||||
|
||||
@@ -1683,7 +1683,7 @@
|
||||
// Notes: Firefox gets a bit messy if you try and bubble
|
||||
// heights + overflow up (min-height issue + still doesn't work v.well),
|
||||
// so this is a bit of a hack.
|
||||
max-height: "calc(100vh - 160px - 160px - 160px)";
|
||||
max-height: calc(100vh - 160px - 160px - 160px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user