mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-05 22:35:38 +00:00
Reset resolution to default as it will pick highest refresh rate
Make Resolution change to be experimental features
This commit is contained in:
parent
c89a59ab0b
commit
e5fd135b30
7 changed files with 47 additions and 7 deletions
|
|
@ -54,6 +54,11 @@ namespace PowerControl
|
|||
{
|
||||
Name = "Resolution",
|
||||
ApplyDelay = 1000,
|
||||
ResetValue = () => {
|
||||
if (!Settings.Default.EnableExperimentalFeatures)
|
||||
return null;
|
||||
return Helpers.PhysicalMonitorBrightnessController.GetAllResolutions().Last();
|
||||
},
|
||||
OptionsValues = delegate()
|
||||
{
|
||||
var resolutions = Helpers.PhysicalMonitorBrightnessController.GetAllResolutions();
|
||||
|
|
@ -63,6 +68,8 @@ namespace PowerControl
|
|||
},
|
||||
CurrentValue = delegate()
|
||||
{
|
||||
if (!Settings.Default.EnableExperimentalFeatures)
|
||||
return null;
|
||||
return Helpers.PhysicalMonitorBrightnessController.GetResolution();
|
||||
},
|
||||
ApplyValue = delegate(object selected)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue