add pdf generation

This commit is contained in:
Alex Turchyn committed 2023-06-01 00:01:11 +03:00
1 parent 170cb1ecea
commit 6a41f82e5b
21 files changed
+383 -49

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ export default {
onDrop (e) {
this.$emit('drop-field', {
x: e.layerX / this.$refs.mask.clientWidth,
y: e.layerY / this.$refs.mask.clientHeight,
y: e.layerY / this.$refs.mask.clientHeight - (this.$refs.mask.clientWidth / 30 / this.$refs.mask.clientWidth) / 2,
w: this.$refs.mask.clientWidth / 5 / this.$refs.mask.clientWidth,
h: this.$refs.mask.clientWidth / 30 / this.$refs.mask.clientWidth,
page: this.number