mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 09:23:06 +08:00
Alternatively fix hover sounds playing out of clicking bounds
This commit is contained in:
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user