fix shadow and opacity

This commit is contained in:
Henry Jameson 2020-01-13 02:08:39 +02:00
parent 9af0042452
commit 29a0b4a593
3 changed files with 4 additions and 3 deletions

View file

@ -117,7 +117,7 @@ export default {
currentOpacity () {
return Object.keys(DEFAULT_OPACITY)
.map(key => [key, this[key + 'OpacityLocal']])
.reduce((acc, [key, val]) => ({ ...acc, [ key + 'OpacityLocal' ]: val }), {})
.reduce((acc, [key, val]) => ({ ...acc, [ key ]: val }), {})
},
currentRadii () {
return {