CmdPal: add a setting for the page transition animation (#42093)

Basically title.

Closes #41869
This commit is contained in:
Mike Griese
2025-10-02 06:37:18 -05:00
committed by GitHub
parent 87af08630a
commit 8ce4b635cf
5 changed files with 35 additions and 1 deletions

View File

@@ -128,6 +128,16 @@ public partial class SettingsViewModel : INotifyPropertyChanged
}
}
public bool DisableAnimations
{
get => _settings.DisableAnimations;
set
{
_settings.DisableAnimations = value;
Save();
}
}
public ObservableCollection<ProviderSettingsViewModel> CommandProviders { get; } = [];
public SettingsViewModel(SettingsModel settings, IServiceProvider serviceProvider, TaskScheduler scheduler)