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.isOpacityPresent = isElementPresent(null, 'opacity', 1)
|
||||
exports.editedRoundness = getEditedElement(null, 'roundness')
|
||||
exports.isRoundnessPresent = isElementPresent(null, 'roundness', 0)
|
||||
exports.isRoundnessPresent = isElementPresent(null, 'roundness', '0')
|
||||
exports.editedTextColor = getEditedElement('Text', 'textColor')
|
||||
exports.isTextColorPresent = isElementPresent('Text', 'textColor', '#000000')
|
||||
exports.editedTextAuto = getEditedElement('Text', 'textAuto')
|
||||
|
|
|
@ -145,8 +145,8 @@
|
|||
<input
|
||||
id="spread"
|
||||
:value="selected?.spread"
|
||||
:disabled="disabled || !present || (separateInset && !selected?.inset)"
|
||||
:class="{ disabled: disabled || !present || (separateInset && !selected?.inset) }"
|
||||
:disabled="disabled || !present || (separateInset && !selected?.inset)"
|
||||
name="spread"
|
||||
class="input input-range"
|
||||
type="range"
|
||||
|
@ -158,7 +158,7 @@
|
|||
:value="selected?.spread"
|
||||
class="input input-number -small"
|
||||
:class="{ disabled: disabled || !present || (separateInset && !selected?.inset) }"
|
||||
:disabled="{ disabled: disabled || !present || (separateInset && !selected?.inset) }"
|
||||
:disabled="disabled || !present || (separateInset && !selected?.inset)"
|
||||
type="number"
|
||||
@input="e => updateProperty('spread', e.target.value)"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue