new design for rendertest #8
@ -468,8 +468,8 @@ window.onload = () => {
|
|||||||
Text(" Toggle diff for all"),
|
Text(" Toggle diff for all"),
|
||||||
Tag("input", {"type": "checkbox", "name": "all_diff", ...uglyChecked(all_diff)}, null, null, "change", (e) => {
|
Tag("input", {"type": "checkbox", "name": "all_diff", ...uglyChecked(all_diff)}, null, null, "change", (e) => {
|
||||||
images.classList.toggle("all_diff");
|
images.classList.toggle("all_diff");
|
||||||
vpaddin_input.disabled = !vpaddin_input.disabled;
|
//vpaddin_input.disabled = !vpaddin_input.disabled;
|
||||||
images.classList.toggle("vpadding");
|
//images.classList.toggle("vpadding");
|
||||||
saveToLocalStorage("rendertest_all_diff", e.target.checked);
|
saveToLocalStorage("rendertest_all_diff", e.target.checked);
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
@ -520,8 +520,8 @@ window.onload = () => {
|
|||||||
}
|
}
|
||||||
if (all_diff) { // TODO: better UX
|
if (all_diff) { // TODO: better UX
|
||||||
images.classList.toggle("all_diff");
|
images.classList.toggle("all_diff");
|
||||||
vpaddin_input.disabled = !vpaddin_input.disabled;
|
//vpaddin_input.disabled = !vpaddin_input.disabled;
|
||||||
images.classList.toggle("vpadding");
|
//images.classList.toggle("vpadding");
|
||||||
}
|
}
|
||||||
if (diffMode == "separate") {
|
if (diffMode == "separate") {
|
||||||
images.classList.toggle("diff_separate");
|
images.classList.toggle("diff_separate");
|
||||||
|
Loading…
Reference in New Issue
Block a user