Skip to content

Commit

Permalink
adjusted Strip and Fader highlight animations
Browse files Browse the repository at this point in the history
slower fade-out
  • Loading branch information
A-tG committed Mar 24, 2022
1 parent 4dc08aa commit b9a305a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ public partial class FaderContainer : ContentControl

private DoubleAnimation m_highlightAnim = new()
{
From = 0.9,
From = 0.8,
To = 0.0,
EasingFunction = new ExponentialEase() { EasingMode = EasingMode.EaseOut },
EasingFunction = new ExponentialEase() { EasingMode = EasingMode.EaseIn },
Duration = new Duration(TimeSpan.FromMilliseconds(250)),
FillBehavior = FillBehavior.Stop
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ public partial class StripControl : UserControl, IOsdRootElement

private DoubleAnimation m_highlightAnim = new()
{
From = 1,
From = 0.9,
To = 0,
Duration = TimeSpan.FromMilliseconds(500),
EasingFunction = new ExponentialEase() { EasingMode = EasingMode.EaseOut },
Duration = TimeSpan.FromMilliseconds(400),
EasingFunction = new ExponentialEase() { EasingMode = EasingMode.EaseIn },
FillBehavior = FillBehavior.HoldEnd
};

Expand Down

0 comments on commit b9a305a

Please sign in to comment.