mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Let latency certifier buttons steal hover from area
This commit is contained in:
@ -38,6 +38,8 @@ namespace osu.Game.Screens.Utility
|
||||
return base.OnKeyDown(e);
|
||||
}
|
||||
|
||||
protected override bool OnHover(HoverEvent e) => true;
|
||||
|
||||
[Resolved]
|
||||
private OverlayColourProvider overlayColourProvider { get; set; } = null!;
|
||||
|
||||
|
@ -62,6 +62,10 @@ namespace osu.Game.Screens.Utility
|
||||
Colour = overlayColourProvider.Background6,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
},
|
||||
visualContent = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
},
|
||||
new ButtonWithKeyBind(key)
|
||||
{
|
||||
Text = "Feels better",
|
||||
@ -71,10 +75,6 @@ namespace osu.Game.Screens.Utility
|
||||
Origin = Anchor.TopCentre,
|
||||
Action = () => ReportUserBest?.Invoke(),
|
||||
},
|
||||
visualContent = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
},
|
||||
};
|
||||
|
||||
IsActiveArea.BindValueChanged(active =>
|
||||
|
Reference in New Issue
Block a user