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

Add Stop + RemoveAdjustment functions

This commit is contained in:
iiSaLMaN
2019-08-28 13:10:11 +03:00
Unverified
parent cb8fe89b8b
commit 2f3fb8cf88
+2
View File
@@ -49,8 +49,10 @@ namespace osu.Game.Skinning
}
public void Play() => channels?.ForEach(c => c.Play());
public void Stop() => channels?.ForEach(c => c.Stop());
public void AddAdjustment(AdjustableProperty type, BindableDouble adjustBindable) => channels?.ForEach(c => c.AddAdjustment(type, adjustBindable));
public void RemoveAdjustment(AdjustableProperty type, BindableDouble adjustBindable) => channels?.ForEach(c => c.RemoveAdjustment(type, adjustBindable));
public override bool IsPresent => Scheduler.HasPendingTasks;