Skip to content

Commit

Permalink
Fix user inactivity timer bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszCichecki committed Apr 10, 2024
1 parent 1006db3 commit d7302cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LenovoLegionToolkit.Lib.Automation/AutomationProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ private async void TimeAutoListener_Changed(object? sender, TimeAutoListener.Cha

private async void UserInactivityAutoListener_Changed(object? sender, UserInactivityAutoListener.ChangedEventArgs args)
{
var e = new UserInactivityAutomationEvent(args.TimerResolution);
var e = new UserInactivityAutomationEvent(args.TimerResolution * args.TickCount);
await ProcessEvent(e).ConfigureAwait(false);
}

Expand Down

0 comments on commit d7302cc

Please sign in to comment.