disable blurEffect on mobile due to it causing problems
This commit is contained in:
parent
e120815476
commit
ee5d02689b
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.17.8",
|
"version": "12.119.0-calc.17.9",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -296,7 +296,7 @@ import { getAccountFromId } from '@/scripts/get-account-from-id';
|
||||||
}, { immediate: true });
|
}, { immediate: true });
|
||||||
|
|
||||||
watch(defaultStore.reactiveState.useBlurEffect, v => {
|
watch(defaultStore.reactiveState.useBlurEffect, v => {
|
||||||
if (v) {
|
if (v && deviceKind !== 'smartphone') {
|
||||||
document.documentElement.style.removeProperty('--blur');
|
document.documentElement.style.removeProperty('--blur');
|
||||||
} else {
|
} else {
|
||||||
document.documentElement.style.setProperty('--blur', 'none');
|
document.documentElement.style.setProperty('--blur', 'none');
|
||||||
|
|
Loading…
Reference in a new issue