Add mobile mode and print cut controls
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user