1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 01:59:53 +08:00

Fix visuals in circle gameplay and greedy hover

This commit is contained in:
Dean Herbert
2022-06-10 20:25:33 +09:00
Unverified
parent b956a916c1
commit 8ce545ff9d
+3 -5
View File
@@ -120,7 +120,7 @@ namespace osu.Game.Screens.Utility
private void hit(HitEvent h)
{
hitEvents.Add(h);
unstableRate.Text = $"UR: {hitEvents.CalculateUnstableRate()}";
unstableRate.Text = $"UR: {hitEvents.CalculateUnstableRate():N0}";
}
public class SampleHitCircle : LatencySampleComponent
@@ -149,7 +149,7 @@ namespace osu.Game.Screens.Utility
}
[BackgroundDependencyLoader]
private void load()
private void load(OsuColour colours)
{
InternalChildren = new Drawable[]
{
@@ -162,7 +162,7 @@ namespace osu.Game.Screens.Utility
},
approach = new CircularContainer
{
BorderColour = OverlayColourProvider.Colour1,
BorderColour = colours.Blue,
Size = new Vector2(size),
Masking = true,
BorderThickness = 4,
@@ -181,8 +181,6 @@ namespace osu.Game.Screens.Utility
};
}
protected override bool OnHover(HoverEvent e) => true;
protected override bool OnMouseDown(MouseDownEvent e)
{
if (HitEvent != null)