diff --git a/src/components/TheGraph.vue b/src/components/TheGraph.vue index d31ddba..826fc5c 100644 --- a/src/components/TheGraph.vue +++ b/src/components/TheGraph.vue @@ -134,8 +134,14 @@ onMounted(() => { // .scaleExtent([0.1, 2]) .scaleExtent([0.1, 1]) .on('zoom', (e) => { + // e.preventDefault() layoutStore.transform = e.transform }) + // .on('touchstart', (e) => { + // e.stopPropagation() + // e.preventDefault() + // }) + .filter((e) => { if (editStore.mode === 'display-frame') return nextTick(() => activityStore.registerActivity()) diff --git a/src/views/GraphView.vue b/src/views/GraphView.vue index 8924862..a120bf2 100644 --- a/src/views/GraphView.vue +++ b/src/views/GraphView.vue @@ -18,6 +18,7 @@ const route = useRoute()