new design for rendertest #8

Merged
provod merged 28 commits from NightFox/HLRTest:master into master 2024-02-15 23:35:42 +01:00
Showing only changes of commit 658868d568 - Show all commits

View File

@ -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");