PowerControl: Retain FPS Limit (proportion) on refresh rate change

This commit is contained in:
Kamil Trzciński 2023-02-08 20:17:11 +01:00
parent bc9c3199b7
commit 5cd873b9a3
6 changed files with 58 additions and 24 deletions

View file

@ -39,14 +39,6 @@ namespace PowerControl.Options
{
RefreshRate.Instance,
FPSLimit.Instance
},
AfterApply = () =>
{
// force refresh Refresh Rate
RefreshRate.Instance.Update();
// force reset and refresh of FPS limit
FPSLimit.Instance.Reset();
FPSLimit.Instance.Update();
}
};
}