diff --git a/bin/em/variabletime/web/js/layer.js b/bin/em/variabletime/web/js/layer.js index 0825822..1efc457 100644 --- a/bin/em/variabletime/web/js/layer.js +++ b/bin/em/variabletime/web/js/layer.js @@ -510,10 +510,26 @@ const Layer = function(tp, layerID, fontsAndAxes, autoInit = true) { panelPropContainer .classList .add(`${propKey}ContWrapper`); + panelPropContainer + .classList + .add(`propContWrapper`); } else { panelPropContainer .classList .add(`${propKey}Wrapper`); + panelPropContainer + .classList + .add(`propWrapper`); + const inputElement = panelPropContainer + .querySelector('input'); + if (inputElement !== null) { + inputElement + .classList + .add(`${propKey}Input`); + inputElement + .classList + .add(`propInput`); + } } } else { console.log('Layer::findInjectPanel', @@ -539,11 +555,15 @@ const Layer = function(tp, layerID, fontsAndAxes, autoInit = true) { const subFriendlyName = config.layer.friendlyNames[subUnfriendlyName]; if (e.innerHTML === subUnfriendlyName) { e.innerHTML = subFriendlyName; + e.classList.add('propTitle'); + e.classList.add(`${unfriendlyName}_${subUnfriendlyName}Title`); } }); }); } else { panelPropTitles[unfriendlyName].innerHTML = friendlyName; + panelPropTitles[unfriendlyName].classList.add('propTitle'); + panelPropTitles[unfriendlyName].classList.add(`${unfriendlyName}Title`); } } });