From 897de4ed275e49ae21e22306a2541dfacc9775ef Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Sun, 22 Sep 2024 10:59:55 +0200 Subject: [PATCH] Option for Slash sleep animation on lid-close https://github.com/seerge/g-helper/discussions/3145 --- app/AnimeMatrix/AniMatrixControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/AnimeMatrix/AniMatrixControl.cs b/app/AnimeMatrix/AniMatrixControl.cs index eef3714e..ca5e0a8b 100644 --- a/app/AnimeMatrix/AniMatrixControl.cs +++ b/app/AnimeMatrix/AniMatrixControl.cs @@ -150,7 +150,7 @@ namespace GHelper.AnimeMatrix if (deviceSlash is not null) { - deviceSlash.SetLidMode(!matrixLid); + deviceSlash.SetLidMode(!matrixLid && AppConfig.Is("slash_sleep")); } if (matrixLid || force)