mirror of
https://github.com/ppy/osu
synced 2024-12-12 01:48:49 +00:00
Fix individual volume controls not being adjustable via wheel
They were blocking each others' input unnecessarily.
This commit is contained in:
parent
7d4ca40965
commit
f33bd700c5
@ -15,11 +15,7 @@ namespace osu.Game.Graphics.UserInterface.Volume
|
||||
{
|
||||
private readonly VolumeMeter volumeMeterMaster;
|
||||
|
||||
private void volumeChanged(double newVolume)
|
||||
{
|
||||
Show();
|
||||
schedulePopOut();
|
||||
}
|
||||
protected override bool BlockPassThroughMouse => false;
|
||||
|
||||
public VolumeControl()
|
||||
{
|
||||
@ -85,6 +81,12 @@ namespace osu.Game.Graphics.UserInterface.Volume
|
||||
return false;
|
||||
}
|
||||
|
||||
private void volumeChanged(double newVolume)
|
||||
{
|
||||
Show();
|
||||
schedulePopOut();
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(AudioManager audio)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user