From 9f28133030214169361acec4202c651726ce6cdf Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Thu, 9 Jan 2025 17:22:50 -0800 Subject: [PATCH] Make it easier to click options. I'm using vnc to view my linux box, the screen is scaled and the checkboxes are tiny so ... make the name of option a label so they are slightly easier to click. --- src/common/runtime/standalone.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/common/runtime/standalone.ts b/src/common/runtime/standalone.ts index 3f7333c1eb3..aefcc2946cc 100644 --- a/src/common/runtime/standalone.ts +++ b/src/common/runtime/standalone.ts @@ -633,17 +633,21 @@ void (async () => { return select; }; - for (const [optionName, info] of Object.entries(optionsInfos)) { + Object.entries(optionsInfos).forEach(([optionName, info], i) => { + const id = `option${i}`; const input = typeof optionValues[optionName] === 'boolean' ? createCheckbox(optionName) : createSelect(optionName, info); + input.attr('id', id); $('') .append($('').append(input)) - .append($('').text(camelCaseToSnakeCase(optionName))) + .append( + $('').append($('