mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 14:53:48 +00:00
Move FanMode and OverlayMode to GlobalConfig
This commit is contained in:
parent
39fb809e01
commit
604a7e5b0b
8 changed files with 66 additions and 52 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using CommonHelpers;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
|
@ -9,17 +10,17 @@ namespace PerformanceOverlay
|
|||
{
|
||||
internal partial class Settings
|
||||
{
|
||||
public Overlays.Mode OSDModeParsed
|
||||
public OverlayMode OSDModeParsed
|
||||
{
|
||||
get
|
||||
{
|
||||
try
|
||||
{
|
||||
return (Mode)Enum.Parse<Mode>(OSDMode);
|
||||
return (OverlayMode)Enum.Parse<OverlayMode>(OSDMode);
|
||||
}
|
||||
catch (ArgumentException)
|
||||
{
|
||||
return Mode.FPS;
|
||||
return OverlayMode.FPS;
|
||||
}
|
||||
}
|
||||
set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue