Add mobile mode and print cut controls

This commit is contained in:
Mikei386
2026-06-22 06:46:52 +02:00
parent 7029ee9519
commit a6025eef47
10 changed files with 303 additions and 48 deletions
+4
View File
@@ -6,6 +6,8 @@ const fields = {
font: document.getElementById("mobileFont"),
copies: document.getElementById("mobileCopies"),
align: document.getElementById("mobileAlign"),
cutMode: document.getElementById("mobileCutMode"),
halfcut: document.getElementById("mobileHalfcut"),
bold: document.getElementById("mobileBold"),
frame: document.getElementById("mobileFrame"),
preview: document.getElementById("mobilePreview"),
@@ -53,6 +55,8 @@ function mobileDesign() {
lengthMm: length,
marginMm: margin,
orientation: "landscape",
cutMode: fields.cutMode.value,
halfcut: fields.halfcut.value,
objects,
};
}