mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Slash lightning tweaks https://github.com/seerge/g-helper/issues/2381
This commit is contained in:
@@ -61,9 +61,11 @@ namespace GHelper.AnimeMatrix
|
||||
|
||||
public void SetLidMode(bool force = false)
|
||||
{
|
||||
if (AppConfig.Is("matrix_lid") || force)
|
||||
bool matrixLid = AppConfig.Is("matrix_lid");
|
||||
if (matrixLid || force)
|
||||
{
|
||||
Logger.WriteLine($"Matrix LidClosed: {lidClose}");
|
||||
if (deviceSlash is not null) deviceSlash.SetLidMode(matrixLid);
|
||||
SetDevice(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user