settings: get "reduced motion" setting from WinApi

This commit is contained in:
goaaats 2024-03-20 22:14:24 +01:00
parent 95defa200f
commit f9847398d2
5 changed files with 62 additions and 5 deletions

View file

@ -188,7 +188,7 @@ internal sealed partial class ActiveNotification : IActiveNotification
set => this.newProgress = value;
}
private static bool ReducedMotions => Service<DalamudConfiguration>.Get().ReduceMotions;
private static bool ReducedMotions => Service<DalamudConfiguration>.Get().ReduceMotions ?? false;
/// <summary>Gets the eased progress.</summary>
private float ProgressEased