mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Allow looping storyboard samples to follow the base samplePlaybackDisabled event logic.
This commit is contained in:
@ -46,8 +46,15 @@ namespace osu.Game.Storyboards.Drawables
|
||||
{
|
||||
if (!RequestedPlaying) return;
|
||||
|
||||
if (disabled.NewValue)
|
||||
Stop();
|
||||
// non-looping storyboard samples should be stopped immediately when sample playback is disabled
|
||||
if (!Looping)
|
||||
{
|
||||
if (disabled.NewValue)
|
||||
Stop();
|
||||
}
|
||||
else
|
||||
base.SamplePlaybackDisabledChanged(disabled);
|
||||
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
|
Reference in New Issue
Block a user