DP-CustomResolution/CustomResolution/OpenSettingsCmd.cs

14 lines
340 B
C#
Raw Normal View History

2024-02-14 00:05:07 +01:00
namespace CustomResolution;
public sealed class OpenSettingsCmd : Cmd
{
public override string Name => "cres";
public override string HelpMessage => "Open the CustomResolution Settings";
public override void Run(string arguments)
{
Service.PluginUI.SettingsVisible = !Service.PluginUI.SettingsVisible;
}
}