mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Universal brightness fix
This commit is contained in:
@@ -156,8 +156,13 @@ namespace GHelper.Input
|
|||||||
|
|
||||||
if (isTUF) brightness = ScreenBrightness.Get();
|
if (isTUF) brightness = ScreenBrightness.Get();
|
||||||
|
|
||||||
if (delta > 0 || AppConfig.SwappedBrightness()) HandleOptimizationEvent(32);
|
if (AppConfig.SwappedBrightness())
|
||||||
else HandleOptimizationEvent(16);
|
{
|
||||||
|
HandleOptimizationEvent(delta > 0 ? 32 : 16);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
HandleOptimizationEvent(delta > 0 ? 16 : 32);
|
||||||
|
}
|
||||||
|
|
||||||
if (isTUF)
|
if (isTUF)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user