Input typing and condition

This commit is contained in:
barsdeveloper
2022-11-11 21:51:53 +01:00
parent 48065a4777
commit c3743572fc
15 changed files with 90 additions and 26 deletions

View File

@@ -66,7 +66,7 @@ export default class LinearColorPinTemplate extends IInputPinTemplate {
}
renderInput() {
if (this.element.isInput()) {
if (this.element.isInput() && !this.element.isLinked) {
return html`
<span class="ueb-pin-input" data-linear-color="${this.element.defaultValue.toString()}"
style="--ueb-linear-color: rgba(${this.element.defaultValue.toString()})">