fix: do not save config in setupwizard on value change
This commit is contained in:
1 parent
95c6db6a1d
commit
407996269e
1 file changed
-5
@@ -280,7 +280,6 @@
|
|||||||
disabled={$platform !== 'windows'}
|
disabled={$platform !== 'windows'}
|
||||||
onCheckedChange={async (e) => {
|
onCheckedChange={async (e) => {
|
||||||
patch.set(e);
|
patch.set(e);
|
||||||
$userSettings.save();
|
|
||||||
}}
|
}}
|
||||||
class="flex items-center justify-center w-5 h-5"
|
class="flex items-center justify-center w-5 h-5"
|
||||||
></Checkbox>
|
></Checkbox>
|
||||||
@@ -299,8 +298,6 @@
|
|||||||
cursorSmoothening.set(false);
|
cursorSmoothening.set(false);
|
||||||
}
|
}
|
||||||
customCursor.set(e);
|
customCursor.set(e);
|
||||||
|
|
||||||
$userSettings.save();
|
|
||||||
}}
|
}}
|
||||||
class="flex items-center justify-center w-5 h-5"
|
class="flex items-center justify-center w-5 h-5"
|
||||||
></Checkbox>
|
></Checkbox>
|
||||||
@@ -317,7 +314,6 @@
|
|||||||
onCheckedChange={async (e) => {
|
onCheckedChange={async (e) => {
|
||||||
if (!$customCursor) return;
|
if (!$customCursor) return;
|
||||||
cursorSmoothening.set(e);
|
cursorSmoothening.set(e);
|
||||||
$userSettings.save();
|
|
||||||
}}
|
}}
|
||||||
disabled={!$customCursor}
|
disabled={!$customCursor}
|
||||||
class="flex items-center justify-center w-5 h-5"
|
class="flex items-center justify-center w-5 h-5"
|
||||||
@@ -335,7 +331,6 @@
|
|||||||
checked={$reduceAnimations}
|
checked={$reduceAnimations}
|
||||||
onCheckedChange={async (e) => {
|
onCheckedChange={async (e) => {
|
||||||
reduceAnimations.set(e);
|
reduceAnimations.set(e);
|
||||||
$userSettings.save();
|
|
||||||
}}
|
}}
|
||||||
class="flex items-center justify-center w-5 h-5"
|
class="flex items-center justify-center w-5 h-5"
|
||||||
></Checkbox>
|
></Checkbox>
|
||||||
|
|||||||
Reference in new issue
Block a user