small cleanup
This commit is contained in:
parent
415180e8fa
commit
aa922faf62
|
@ -226,7 +226,7 @@ export default {
|
||||||
const getEditedElement = (component, directive) => computed({
|
const getEditedElement = (component, directive) => computed({
|
||||||
get () {
|
get () {
|
||||||
let usedRule
|
let usedRule
|
||||||
const fallback = editorFriendlyFallbackStructure
|
const fallback = editorFriendlyFallbackStructure.value
|
||||||
const real = allEditedRules
|
const real = allEditedRules
|
||||||
const path = getPath(component, directive)
|
const path = getPath(component, directive)
|
||||||
|
|
||||||
|
@ -261,7 +261,7 @@ export default {
|
||||||
const isTextColorPresent = isElementPresent('Text', 'color', '#000000')
|
const isTextColorPresent = isElementPresent('Text', 'color', '#000000')
|
||||||
const isLinkColorPresent = isElementPresent('Link', 'color', '#000080')
|
const isLinkColorPresent = isElementPresent('Link', 'color', '#000080')
|
||||||
const isIconColorPresent = isElementPresent('Icon', 'color', '#909090')
|
const isIconColorPresent = isElementPresent('Icon', 'color', '#909090')
|
||||||
const isShadowPresent = isElementPresent(null, 'shadow', [{ x: 0, y: 0, blur: 0, color: '#000000' }])
|
const isShadowPresent = isElementPresent(null, 'shadow', [])
|
||||||
|
|
||||||
const updateSelectedComponent = () => {
|
const updateSelectedComponent = () => {
|
||||||
selectedVariant.value = 'normal'
|
selectedVariant.value = 'normal'
|
||||||
|
|
Loading…
Reference in a new issue