mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 19:33:20 +08:00
Update framework
This commit is contained in:
parent
ac99ca6881
commit
c070c69522
@ -1 +1 @@
|
|||||||
Subproject commit f6fa5b80ed06f84c8fd25a2576eea8d51565785c
|
Subproject commit 16a4bef775a49166f38faa6e952d83d8823fe3e0
|
@ -22,6 +22,7 @@ namespace osu.Game.Overlays.Direct
|
|||||||
public Track Preview { get; private set; }
|
public Track Preview { get; private set; }
|
||||||
|
|
||||||
private BeatmapSetInfo beatmapSet;
|
private BeatmapSetInfo beatmapSet;
|
||||||
|
|
||||||
public BeatmapSetInfo BeatmapSet
|
public BeatmapSetInfo BeatmapSet
|
||||||
{
|
{
|
||||||
get { return 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).
|
// 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);
|
config.BindWith(FrameworkSetting.VolumeMusic, trackManager.Volume);
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(preview))
|
Preview = trackManager.Get(preview);
|
||||||
Preview = trackManager.Get(preview);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Dispose(bool isDisposing)
|
protected override void Dispose(bool isDisposing)
|
||||||
|
Loading…
Reference in New Issue
Block a user