This commit is contained in:
mattyatea 2023-09-23 09:58:48 +09:00
parent db7e4138d7
commit 4e846b29b9
1 changed files with 17 additions and 17 deletions

View File

@ -98,7 +98,7 @@ let gaming = ref(''); // 0-off , 1-dark , 2-light
// gaming.value
if (darkMode.value && gamingMode.value && props.primary || darkMode.value && gamingMode.value && props.gradate ) {
gaming.value = 'dark';
} else if (!darkMode.value && gamingMode.value && props.primary|| props.gradate ) {
} else if (!darkMode.value && gamingMode.value && props.primary || darkMode.value && gamingMode.value && props.gradate ) {
gaming.value = 'light';
}else{
gaming.value = '';