mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[Settings][Find My Mouse] Improve UX for disabled animations (#34289)
* Improve UX for disabled animations * bump cache
This commit is contained in:
committed by
GitHub
parent
2979dc7d15
commit
c58a4f4668
@@ -3,6 +3,7 @@
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Diagnostics;
|
||||
using Common.UI;
|
||||
|
||||
namespace Microsoft.PowerToys.Settings.UI.Helpers
|
||||
{
|
||||
@@ -10,6 +11,10 @@ namespace Microsoft.PowerToys.Settings.UI.Helpers
|
||||
{
|
||||
public const string ColorsSettings = "ms-settings:colors";
|
||||
|
||||
public static string AnimationsSettings => OSVersionHelper.IsWindows11()
|
||||
? "ms-settings:easeofaccess-visualeffects"
|
||||
: "ms-settings:easeofaccess-display";
|
||||
|
||||
public static void Start(string process)
|
||||
{
|
||||
Process.Start(new ProcessStartInfo(process) { UseShellExecute = true });
|
||||
|
||||
Reference in New Issue
Block a user