shx-3d-render

main
Jan Umbach 2024-06-21 22:59:33 +02:00
parent f1824232c4
commit d2a6089c9c
1 changed files with 3 additions and 1 deletions

View File

@ -237,7 +237,7 @@
let html = `
<label class="form__label custom shx-ifc-form_label" for="${inputID}-label">${labelText}: <span>${SHX_getFilamentById(inputVal).name}</span></label>
<label class="form__label custom shx-ifc-form_label" for="${inputID}-label">${labelText}: <span class="shx-ifc-form_label_selected">${SHX_getFilamentById(inputVal).name}</span></label>
<div id="${inputID}" class="shx-ifc-colorselect">
`;
@ -478,6 +478,8 @@
let input = target.previousElementSibling;
input.checked = true;
target.closest('.shx-ifc-form_label').querySelector('.shx-ifc-form_label_selected').innerText = target.nextElementSibling.innerText;
this.renderView();
}