mirror of
https://github.com/osukey/osukey.git
synced 2025-07-24 03:40:04 +09:00
Merge branch 'master' into beatmap-details-rewrite
This commit is contained in:
Submodule osu-framework updated: 4e7ea6af4f...a617245a42
@ -96,7 +96,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
protected override DrawableMenuItem CreateDrawableMenuItem(MenuItem item) => new DrawableOsuDropdownMenuItem(item) { AccentColour = accentColour };
|
||||
|
||||
#region DrawableOsuDropdownMenuItem
|
||||
protected class DrawableOsuDropdownMenuItem : DrawableDropdownMenuItem, IHasAccentColour
|
||||
public class DrawableOsuDropdownMenuItem : DrawableDropdownMenuItem, IHasAccentColour
|
||||
{
|
||||
private Color4? accentColour;
|
||||
public Color4 AccentColour
|
||||
|
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user