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