import { Component, Vue } from 'vue-property-decorator' import AppCheckbox from '@/components/app/AppCheckbox' import { AppModule } from '@/store/app' @Component({ components: { AppCheckbox } }) export default class SettingsCheckboxes extends Vue { get bodyClass() { return AppModule.bodyClass } buildCheckbox(name: string) { return { AppModule.CHANGE_BODY_CLASS({ key: name, value }) AppModule.syncStoreWithQuery() }} /> } generateRandomTheme(value: boolean) { AppModule.SET_STATE_APP({ key: 'generateRandomThemes', value }) } render() { return

{ this.$t('settings.performance') }

{ this.buildCheckbox('blur') } { this.buildCheckbox('show-framerate') } { this.buildCheckbox('no-transition') } { this.buildCheckbox('only-ui') }
} }