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

@ -134,7 +134,7 @@ public class SettingsTabLook : SettingsTab
new SettingsEntry<bool>(
Loc.Localize("DalamudSettingReducedMotion", "Reduce motions"),
Loc.Localize("DalamudSettingReducedMotion", "This will suppress certain animations from Dalamud, such as the notification popup."),
c => c.ReduceMotions,
c => c.ReduceMotions ?? false,
(v, c) => c.ReduceMotions = v),
};