Skip to content

Commit

Permalink
fade out music slower when loosing focus
Browse files Browse the repository at this point in the history
  • Loading branch information
flustix committed Jul 20, 2024
1 parent 173093f commit cca8968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluXis.Game/FluXisGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ private void load()
IsActive.BindValueChanged(active =>
{
var volume = Config.Get<double>(FluXisSetting.InactiveVolume);
this.TransformBindableTo(inactiveVolume, active.NewValue ? 1 : volume, 1000, Easing.OutQuint);
this.TransformBindableTo(inactiveVolume, active.NewValue ? 1 : volume, active.NewValue ? 500 : 4000, Easing.OutQuint);
}, true);
}

Expand Down

0 comments on commit cca8968

Please sign in to comment.