This commit is contained in:
syuilo 2019-02-26 14:02:23 +09:00
parent e7032363d7
commit 8db8d3f39e
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
9 changed files with 31 additions and 38 deletions

View file

@ -387,13 +387,13 @@ export default Vue.extend({
},
useShadow: {
get() { return this.$store.state.settings.useShadow; },
set(value) { this.$store.dispatch('settings/set', { key: 'useShadow', value }); }
get() { return this.$store.state.device.useShadow; },
set(value) { this.$store.commit('device/set', { key: 'useShadow', value }); }
},
roundedCorners: {
get() { return this.$store.state.settings.roundedCorners; },
set(value) { this.$store.dispatch('settings/set', { key: 'roundedCorners', value }); }
get() { return this.$store.state.device.roundedCorners; },
set(value) { this.$store.commit('device/set', { key: 'roundedCorners', value }); }
},
lineWidth: {

View file

@ -61,7 +61,7 @@ export default Vue.extend({
computed: {
style(): any {
return {
'box-shadow': this.$store.state.settings.useShadow ? '0 0px 8px rgba(0, 0, 0, 0.2)' : 'none'
'box-shadow': this.$store.state.device.useShadow ? '0 0px 8px rgba(0, 0, 0, 0.2)' : 'none'
};
}
},