1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 09:10:26 +08:00

Alternatively fix hover sounds playing out of clicking bounds

This commit is contained in:
Joseph Madamba
2023-02-02 23:45:54 -08:00
Unverified
parent 6135db6bd7
commit 77569058cb
@@ -8,6 +8,7 @@ using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input.Events;
using osu.Game.Configuration;
using osuTK;
namespace osu.Game.Graphics.UserInterface
{
@@ -18,6 +19,8 @@ namespace osu.Game.Graphics.UserInterface
{
private Bindable<double?> lastPlaybackTime;
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => Parent?.ReceivePositionalInputAt(screenSpacePos) ?? false;
[BackgroundDependencyLoader]
private void load(SessionStatics statics)
{