#612 sespininput width class set changes
parent
ab67fa2e03
commit
9d56df3c8c
|
@ -88,9 +88,9 @@ export class SESpinInput extends HTMLElement {
|
||||||
case 'src':
|
case 'src':
|
||||||
this.$img.setAttribute('src', newValue);
|
this.$img.setAttribute('src', newValue);
|
||||||
this.$label.remove();
|
this.$label.remove();
|
||||||
|
this.$div.classList.add('imginside');
|
||||||
break;
|
break;
|
||||||
case 'width':
|
case 'width':
|
||||||
this.$div.classList.add('imginside');
|
|
||||||
this.$div.style.setProperty('--se-spin-input-width', newValue + 'px');
|
this.$div.style.setProperty('--se-spin-input-width', newValue + 'px');
|
||||||
break;
|
break;
|
||||||
case 'size':
|
case 'size':
|
||||||
|
|
|
@ -210,7 +210,7 @@ class BottomPanel {
|
||||||
height="22px"></img></se-list-item>
|
height="22px"></img></se-list-item>
|
||||||
</se-list>
|
</se-list>
|
||||||
<se-spin-input size="3" id="opacity" min=0 max=100 step=5 title="${i18next.t('properties.opacity')}"
|
<se-spin-input size="3" id="opacity" min=0 max=100 step=5 title="${i18next.t('properties.opacity')}"
|
||||||
src="${imgPath}/opacity.svg" width="82"></se-spin-input>
|
src="${imgPath}/opacity.svg"></se-spin-input>
|
||||||
<se-palette id="palette"></se-palette>
|
<se-palette id="palette"></se-palette>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in New Issue