1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 06:09:53 +08:00

Update framework

This commit is contained in:
Dean Herbert
2018-02-22 15:01:53 +09:00
Unverified
parent ac99ca6881
commit c070c69522
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -22,6 +22,7 @@ namespace osu.Game.Overlays.Direct
public Track Preview { get; private set; }
private BeatmapSetInfo beatmapSet;
public BeatmapSetInfo BeatmapSet
{
get { return beatmapSet; }
@@ -199,8 +200,7 @@ namespace osu.Game.Overlays.Direct
// add back the user's music volume setting (since we are no longer in the global TrackManager's hierarchy).
config.BindWith(FrameworkSetting.VolumeMusic, trackManager.Volume);
if (!string.IsNullOrEmpty(preview))
Preview = trackManager.Get(preview);
Preview = trackManager.Get(preview);
}
protected override void Dispose(bool isDisposing)