Skip to content

Commit

Permalink
close #153
Browse files Browse the repository at this point in the history
  • Loading branch information
fidelthomet committed Oct 8, 2024
1 parent 980aeae commit e7f0b84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/TheGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
1 change: 1 addition & 0 deletions src/views/GraphView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const route = useRoute()
<div
class="graph-view"
:class="{ 'split-screen': videoStore.showVideo && !settingsStore.pictureInPicture }"
@wheel.prevent
>
<TheHeader v-if="!route.meta.hideMenuBar" />
<TheGraph />
Expand Down

0 comments on commit e7f0b84

Please sign in to comment.