Fn-lock tweak

This commit is contained in:
Serge
2024-04-18 18:14:09 +02:00
parent ae41aedb1e
commit 5fc999efe8

View File

@@ -586,7 +586,7 @@ namespace GHelper.Input
public static void ToggleFnLock() public static void ToggleFnLock()
{ {
bool fnLock = AppConfig.Is("fn_lock"); bool fnLock = !AppConfig.Is("fn_lock");
AppConfig.Set("fn_lock", fnLock ? 1 : 0); AppConfig.Set("fn_lock", fnLock ? 1 : 0);
if (AppConfig.IsVivoZenbook()) if (AppConfig.IsVivoZenbook())