[Client] line thiknessの設定はデバイスに保存するように

This commit is contained in:
syuilo 2018-12-31 00:59:13 +09:00
parent e68c6175ce
commit 84f1ce866b
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
4 changed files with 8 additions and 8 deletions

View file

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