move monochrome switch to HSWAW menu (it's a bit broken at launch)
parent
6eb8e4323b
commit
4664a50c8a
|
@ -2406,10 +2406,3 @@ $G.on("fullscreenchange webkitfullscreenchange", () => {
|
|||
// $status_text.text(`fullscreen: ${fullscreen}`);
|
||||
$("html").toggleClass("fullscreen", fullscreen);
|
||||
});
|
||||
|
||||
// default to monochrome for label print (lmao)
|
||||
image_attributes();
|
||||
$("#attribute-monochrome").click();
|
||||
setTimeout(() => {
|
||||
$(".attributes-window button[type=submit]").click();
|
||||
}, 100);
|
||||
|
|
14
src/menus.js
14
src/menus.js
|
@ -233,6 +233,20 @@
|
|||
}
|
||||
],
|
||||
[localize("HSWAW")]: [
|
||||
{
|
||||
item: "Switch to monochrome",
|
||||
speech_recognition: [],
|
||||
action: () => {
|
||||
// lmao
|
||||
image_attributes();
|
||||
$("#attribute-monochrome").click();
|
||||
setTimeout(() => {
|
||||
$(".attributes-window button[type=submit]").click();
|
||||
}, 100);
|
||||
},
|
||||
description: '',
|
||||
},
|
||||
MENU_DIVIDER,
|
||||
{
|
||||
item: localize("Print on Zebra (large label)"),
|
||||
speech_recognition: [],
|
||||
|
|
Loading…
Reference in New Issue