Loads of button generator additions
This commit is contained in:
parent
98b4edf47d
commit
e7754141bf
12 changed files with 904 additions and 126 deletions
|
|
@ -174,6 +174,14 @@ export class ButtonGenerator {
|
|||
values[id] = element.value;
|
||||
}
|
||||
}
|
||||
|
||||
// For range-dual controls, also check for -start and -end suffixed elements
|
||||
const startElement = document.getElementById(`${id}-start`);
|
||||
const endElement = document.getElementById(`${id}-end`);
|
||||
if (startElement && endElement) {
|
||||
values[`${id}-start`] = parseFloat(startElement.value);
|
||||
values[`${id}-end`] = parseFloat(endElement.value);
|
||||
}
|
||||
});
|
||||
|
||||
return values;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue