1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 08:02:55 +08:00

Tidy up weird bind logic

This commit is contained in:
Dean Herbert 2021-07-02 15:29:51 +09:00
parent 9814c24741
commit 69b1347730

View File

@ -187,13 +187,7 @@ namespace osu.Game.Overlays.Volume
}
};
Bindable.ValueChanged += volume =>
{
this.TransformTo("DisplayVolume",
volume.NewValue,
400,
Easing.OutQuint);
};
Bindable.ValueChanged += volume => { this.TransformTo(nameof(DisplayVolume), volume.NewValue, 400, Easing.OutQuint); };
bgProgress.Current.Value = 0.75f;
}