mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Unsubscribe from ValueChanged events
This commit is contained in:
parent
059e2a3c5a
commit
d5cb331eb3
@ -51,6 +51,14 @@ namespace osu.Game
|
||||
};
|
||||
}
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
VolumeGlobal.ValueChanged -= volumeChanged;
|
||||
VolumeSample.ValueChanged -= volumeChanged;
|
||||
VolumeTrack.ValueChanged -= volumeChanged;
|
||||
base.Dispose(isDisposing);
|
||||
}
|
||||
|
||||
protected override bool OnWheelDown(InputState state)
|
||||
{
|
||||
volumeMeterMaster.TriggerWheelDown(state);
|
||||
|
Loading…
Reference in New Issue
Block a user