Skip to content

Commit

Permalink
fix: drawing corrdinate
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 17, 2021
1 parent 762c399 commit d72b51c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 73 deletions.
1 change: 1 addition & 0 deletions packages/client/logic/drawings.ts
Expand Up @@ -49,6 +49,7 @@ export const drawingMode = computed({
export const drauuOptions: DrauuOptions = reactive({
brush,
acceptsInputTypes: computed(() => drawingEnabled.value ? undefined : ['pen' as const]),
coordinateTransform: false,
})
export const drauu = markRaw(createDrauu(drauuOptions))

Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Expand Up @@ -19,7 +19,7 @@
"@vueuse/head": "^0.6.0",
"@vueuse/motion": "^1.6.0",
"codemirror": "^5.62.3",
"drauu": "0.1.0",
"drauu": "^0.2.0",
"file-saver": "^2.0.5",
"js-base64": "^3.7.1",
"js-yaml": "^4.1.0",
Expand Down
83 changes: 11 additions & 72 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d72b51c

Please sign in to comment.