mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
expose UiBuilder.ShouldUseReducedMotion
This commit is contained in:
parent
b2df6e2a2b
commit
c80c561c55
1 changed files with 6 additions and 0 deletions
|
|
@ -347,6 +347,12 @@ public sealed class UiBuilder : IDisposable
|
|||
/// </summary>
|
||||
public IFontAtlas FontAtlas { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether or not to use "reduced motion". This usually means that you should use less
|
||||
/// intrusive animations, or disable them entirely.
|
||||
/// </summary>
|
||||
public bool ShouldUseReducedMotion => Service<DalamudConfiguration>.Get().ReduceMotions ?? false;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether statistics about UI draw time should be collected.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue