1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 00:38:33 +08:00

Allow scrolling to adjust volume

This commit is contained in:
Salman Alshamrani
2025-05-13 14:08:12 +03:00
Unverified
parent 2dceee8ba9
commit 0b6e36d61e
2 changed files with 6 additions and 0 deletions
@@ -44,6 +44,9 @@ namespace osu.Game.Tests.Visual.SongSelectV2
[Cached]
private readonly OsuLogo logo;
[Cached]
private readonly VolumeOverlay volume;
[Cached(typeof(INotificationOverlay))]
private readonly INotificationOverlay notificationOverlay = new NotificationOverlay();
@@ -68,6 +71,7 @@ namespace osu.Game.Tests.Visual.SongSelectV2
{
Alpha = 0f,
},
volume = new VolumeOverlay(),
},
},
};
+2
View File
@@ -19,6 +19,7 @@ using osu.Game.Graphics.Containers;
using osu.Game.Input.Bindings;
using osu.Game.Overlays;
using osu.Game.Overlays.Mods;
using osu.Game.Overlays.Volume;
using osu.Game.Screens.Footer;
using osu.Game.Screens.Menu;
using osu.Game.Screens.Select;
@@ -78,6 +79,7 @@ namespace osu.Game.Screens.SelectV2
{
AddRangeInternal(new Drawable[]
{
new GlobalScrollAdjustsVolume(),
new Box
{
RelativeSizeAxes = Axes.Both,