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