This commit is contained in:
j3d1 2026-08-17 13:04:06 +02:00
parent 9803f23b8d
commit f77a5ad285
3 changed files with 2 additions and 2 deletions

View file

@ -98,9 +98,9 @@ import {markRaw, nextTick} from "vue";
import QRCode from "qrcode";
import BaseLayout from "@/components/BaseLayout.vue";
import {MultiPrinterBlob, canvasToBitmap, bitmapToCanvas} from "../../vendor/weblabel.mjs";
import {MultiPrinterBlob, canvasToBitmap, bitmapToCanvas} from "../../vendor/weblabel.js";
const BLOB_URL = new URL("../../vendor/libweblabel.mjs", import.meta.url).href;
const BLOB_URL = new URL("../../vendor/libweblabel.js", import.meta.url).href;
const MAX_ZOOM = 4; /* never magnify the preview more than this */
const TRAILING_PADDING_PX = 3; /* blank columns after the cut, same idea as the leading margin */