fix: Correct a condition that gets the width value on the Image-Properties (#880)
parent
230331b36e
commit
0c0663eb34
|
@ -280,7 +280,7 @@ export class SeImgPropDialog extends HTMLElement {
|
||||||
connectedCallback () {
|
connectedCallback () {
|
||||||
const onChangeHandler = (ev) => {
|
const onChangeHandler = (ev) => {
|
||||||
if (!ev.target.selectedIndex) {
|
if (!ev.target.selectedIndex) {
|
||||||
if (this.$canvasWidth.getAttribute('value') === 'fit') {
|
if (this.$canvasWidth.value === 'fit') {
|
||||||
this.$canvasWidth.removeAttribute('disabled')
|
this.$canvasWidth.removeAttribute('disabled')
|
||||||
this.$canvasWidth.value = 100
|
this.$canvasWidth.value = 100
|
||||||
this.$canvasHeight.removeAttribute('disabled')
|
this.$canvasHeight.removeAttribute('disabled')
|
||||||
|
|
Loading…
Reference in New Issue