update to palettes GUI + disable theme-setting stuff while change is in progress
This commit is contained in:
parent
6bf6d102ef
commit
6a1a3ebf13
5 changed files with 94 additions and 60 deletions
|
|
@ -30,6 +30,8 @@
|
|||
v-if="apply"
|
||||
class="btn button-default palette-apply-button"
|
||||
@click="applyPalette"
|
||||
:disabled="disabled"
|
||||
:class="{ disabled }"
|
||||
>
|
||||
{{ $t('settings.style.themes3.palette.apply') }}
|
||||
</button>
|
||||
|
|
@ -67,7 +69,7 @@ const paletteKeys = [
|
|||
'wallpaper'
|
||||
]
|
||||
|
||||
const props = defineProps(['modelValue', 'compact', 'apply'])
|
||||
const props = defineProps(['modelValue', 'compact', 'apply', 'disabled'])
|
||||
const emit = defineEmits(['update:modelValue', 'applyPalette'])
|
||||
const getExportedObject = () => paletteKeys.reduce((acc, key) => {
|
||||
const value = props.modelValue[key]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue