fix hsitorical view refresh when switching
This commit is contained in:
parent
4256a254fa
commit
7ec8738b72
|
@ -15,7 +15,6 @@ export default (store) => (next) => (action) => {
|
|||
let prevScale = null;
|
||||
|
||||
switch (type) {
|
||||
case 'TOGGLE_HISTORICAL_VIEW':
|
||||
case 'SET_SCALE': {
|
||||
const state = store.getState();
|
||||
prevScale = state.canvas.viewscale;
|
||||
|
|
Loading…
Reference in New Issue
Block a user