mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09:00
Inspect current track directly
This commit is contained in:
parent
faff0a70c4
commit
031d29ac34
@ -234,9 +234,9 @@ namespace osu.Game.Overlays
|
|||||||
pendingBeatmapSwitch = null;
|
pendingBeatmapSwitch = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
var track = musicController.TrackLoaded ? musicController.CurrentTrack : null;
|
var track = musicController.CurrentTrack;
|
||||||
|
|
||||||
if (track?.IsDummyDevice == false)
|
if (track.IsDummyDevice == false)
|
||||||
{
|
{
|
||||||
progressBar.EndTime = track.Length;
|
progressBar.EndTime = track.Length;
|
||||||
progressBar.CurrentTime = track.CurrentTime;
|
progressBar.CurrentTime = track.CurrentTime;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user