mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Re-init anime matrix on wake up https://github.com/seerge/g-helper/issues/1038
This commit is contained in:
@@ -42,7 +42,7 @@ namespace GHelper.AnimeMatrix
|
||||
|
||||
}
|
||||
|
||||
public void SetMatrix()
|
||||
public void SetMatrix(bool wakeUp = false)
|
||||
{
|
||||
|
||||
if (!IsValid) return;
|
||||
@@ -67,6 +67,8 @@ namespace GHelper.AnimeMatrix
|
||||
|
||||
mat.SetProvider();
|
||||
|
||||
if (wakeUp && AppConfig.ContainsModel("401")) mat.WakeUp();
|
||||
|
||||
if (brightness == 0 || (auto && SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online))
|
||||
{
|
||||
mat.SetDisplayState(false);
|
||||
|
||||
Reference in New Issue
Block a user