mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 01:47:33 +08:00
Merge pull request #1234 from peppy/fix-volume-wheel
Fix individual volume controls not being adjustable via wheel
This commit is contained in:
commit
d42aab96d1
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user