diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/shadow_control/shadow_control.js | 3 | ||||
| -rw-r--r-- | src/components/style_switcher/style_switcher.js | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/components/shadow_control/shadow_control.js b/src/components/shadow_control/shadow_control.js index 7e82b9c0..44e4a22f 100644 --- a/src/components/shadow_control/shadow_control.js +++ b/src/components/shadow_control/shadow_control.js @@ -1,6 +1,7 @@ import ColorInput from '../color_input/color_input.vue' import OpacityInput from '../opacity_input/opacity_input.vue' -import { hex2rgb, getCssShadow } from '../../services/color_convert/color_convert.js' +import { getCssShadow } from '../../services/style_setter/style_setter.js' +import { hex2rgb } from '../../services/color_convert/color_convert.js' export default { // 'Value' and 'Fallback' can be undefined, but if they are diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js index 34826f9f..98c2cbc5 100644 --- a/src/components/style_switcher/style_switcher.js +++ b/src/components/style_switcher/style_switcher.js @@ -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 { |
