[Settings][Find My Mouse] Improve UX for disabled animations (#34289)

* Improve UX for disabled animations

* bump cache
This commit is contained in:
Davide Giacometti
2024-08-15 17:29:25 +02:00
committed by GitHub
parent 2979dc7d15
commit c58a4f4668
6 changed files with 32 additions and 4 deletions

View File

@@ -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 });