mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 20:22:55 +08:00
Fix visuals in circle gameplay and greedy hover
This commit is contained in:
parent
b956a916c1
commit
8ce545ff9d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user