This commit is contained in:
Frank Skare
2021-09-02 14:42:53 +02:00
parent 42c623c8ca
commit a935cac791
2 changed files with 5 additions and 3 deletions

View File

@@ -961,11 +961,13 @@ namespace mpvnet
}));
}
void PropChangePause(bool enabled)
void PropChangePause(bool paused)
{
Core.Paused = paused;
if (Taskbar != null && Core.TaskbarProgress)
{
if (enabled)
if (paused)
Taskbar.SetState(TaskbarStates.Paused);
else
Taskbar.SetState(TaskbarStates.Normal);