redux: map centering from saga

This commit is contained in:
muerwre 2018-11-26 17:44:45 +07:00
parent 5d14a753f7
commit 2f4029bbd8
3 changed files with 9 additions and 3 deletions

View file

@ -66,6 +66,7 @@ function* mapInitSaga() {
if (map) {
yield editor.setData(map);
yield editor.fitDrawing();
yield put(setChanged(false));
if (mode && mode === 'edit') {