fix broken spread text input and roundness present checkbox
This commit is contained in:
parent
ae55374841
commit
fc652523aa
|
@ -380,7 +380,7 @@ export default {
|
||||||
exports.editedOpacity = getEditedElement(null, 'opacity')
|
exports.editedOpacity = getEditedElement(null, 'opacity')
|
||||||
exports.isOpacityPresent = isElementPresent(null, 'opacity', 1)
|
exports.isOpacityPresent = isElementPresent(null, 'opacity', 1)
|
||||||
exports.editedRoundness = getEditedElement(null, 'roundness')
|
exports.editedRoundness = getEditedElement(null, 'roundness')
|
||||||
exports.isRoundnessPresent = isElementPresent(null, 'roundness', 0)
|
exports.isRoundnessPresent = isElementPresent(null, 'roundness', '0')
|
||||||
exports.editedTextColor = getEditedElement('Text', 'textColor')
|
exports.editedTextColor = getEditedElement('Text', 'textColor')
|
||||||
exports.isTextColorPresent = isElementPresent('Text', 'textColor', '#000000')
|
exports.isTextColorPresent = isElementPresent('Text', 'textColor', '#000000')
|
||||||
exports.editedTextAuto = getEditedElement('Text', 'textAuto')
|
exports.editedTextAuto = getEditedElement('Text', 'textAuto')
|
||||||
|
|
|
@ -145,8 +145,8 @@
|
||||||
<input
|
<input
|
||||||
id="spread"
|
id="spread"
|
||||||
:value="selected?.spread"
|
:value="selected?.spread"
|
||||||
:disabled="disabled || !present || (separateInset && !selected?.inset)"
|
|
||||||
:class="{ disabled: disabled || !present || (separateInset && !selected?.inset) }"
|
:class="{ disabled: disabled || !present || (separateInset && !selected?.inset) }"
|
||||||
|
:disabled="disabled || !present || (separateInset && !selected?.inset)"
|
||||||
name="spread"
|
name="spread"
|
||||||
class="input input-range"
|
class="input input-range"
|
||||||
type="range"
|
type="range"
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
:value="selected?.spread"
|
:value="selected?.spread"
|
||||||
class="input input-number -small"
|
class="input input-number -small"
|
||||||
:class="{ disabled: disabled || !present || (separateInset && !selected?.inset) }"
|
:class="{ disabled: disabled || !present || (separateInset && !selected?.inset) }"
|
||||||
:disabled="{ disabled: disabled || !present || (separateInset && !selected?.inset) }"
|
:disabled="disabled || !present || (separateInset && !selected?.inset)"
|
||||||
type="number"
|
type="number"
|
||||||
@input="e => updateProperty('spread', e.target.value)"
|
@input="e => updateProperty('spread', e.target.value)"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue