This commit is contained in:
Serge
2024-04-20 18:57:10 +02:00
parent c65002cbae
commit bdba153ddc
3 changed files with 26 additions and 6 deletions

View File

@@ -117,7 +117,12 @@ namespace GHelper.AnimeMatrix
public void SetLidMode(bool force = false)
{
bool matrixLid = AppConfig.Is("matrix_lid");
if (deviceSlash is not null) deviceSlash.SetLidMode(matrixLid);
if (deviceSlash is not null)
{
deviceSlash.SetLidMode(matrixLid);
deviceSlash.SetSleepActive(!matrixLid);
}
if (matrixLid || force)
{