mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Screenpad brightness tweak https://github.com/seerge/g-helper/issues/3067
This commit is contained in:
@@ -977,7 +977,7 @@ namespace GHelper.Input
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
brightness = Math.Max(Math.Min(100, brightness + delta), -10);
|
brightness = Math.Max(Math.Min(100, brightness + delta), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
AppConfig.Set("screenpad", brightness);
|
AppConfig.Set("screenpad", brightness);
|
||||||
|
|||||||
Reference in New Issue
Block a user