reset offset

This commit is contained in:
Mutasem 2021-11-05 10:21:23 +01:00
parent fc9123e77a
commit 837040a8a1

View file

@ -1538,6 +1538,7 @@ export default mixins(
this.$store.commit('setStateDirty', false); this.$store.commit('setStateDirty', false);
this.setZoomLevel(1); this.setZoomLevel(1);
this.$store.commit('setNodeViewOffsetPosition', {newOffset: [0, 0]});
}, },
async initView (): Promise<void> { async initView (): Promise<void> {
if (this.$route.params.action === 'workflowSave') { if (this.$route.params.action === 'workflowSave') {