fix hsitorical view refresh when switching

This commit is contained in:
HF 2021-07-24 14:26:59 +02:00
parent 4256a254fa
commit 7ec8738b72

View File

@ -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;