1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:20:04 +08:00

Fix display of swells

This commit is contained in:
smoogipoo 2018-08-03 16:49:24 +09:00
parent e6775c7a16
commit 412e4ff681
3 changed files with 4 additions and 5 deletions

View File

@ -7,6 +7,8 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{ {
public abstract class DrawableStrongHitObject : DrawableTaikoHitObject public abstract class DrawableStrongHitObject : DrawableTaikoHitObject
{ {
public override bool DisplayJudgement => false;
public readonly DrawableHitObject MainObject; public readonly DrawableHitObject MainObject;
protected DrawableStrongHitObject(StrongHitObject strong, DrawableHitObject mainObject) protected DrawableStrongHitObject(StrongHitObject strong, DrawableHitObject mainObject)

View File

@ -20,11 +20,6 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{ {
public class DrawableSwell : DrawableTaikoHitObject<Swell> public class DrawableSwell : DrawableTaikoHitObject<Swell>
{ {
/// <summary>
/// A judgement is only displayed when the user has complete the swell (either a hit or miss).
/// </summary>
public override bool DisplayJudgement => AllJudged;
private const float target_ring_thick_border = 1.4f; private const float target_ring_thick_border = 1.4f;
private const float target_ring_thin_border = 1f; private const float target_ring_thin_border = 1f;
private const float target_ring_scale = 5f; private const float target_ring_scale = 5f;

View File

@ -8,6 +8,8 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{ {
public class DrawableSwellTick : DrawableTaikoHitObject public class DrawableSwellTick : DrawableTaikoHitObject
{ {
public override bool DisplayJudgement => false;
public DrawableSwellTick(TaikoHitObject hitObject) public DrawableSwellTick(TaikoHitObject hitObject)
: base(hitObject) : base(hitObject)
{ {