diff --git a/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableBarLine.cs b/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableBarLine.cs index 84de39482..ad1b619b5 100644 --- a/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableBarLine.cs +++ b/osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableBarLine.cs @@ -31,7 +31,7 @@ public class DrawableBarLine : DrawableKaraokeScrollingHitObject /// /// The visual line tracker. /// - private Container line; + private Box line; /// /// Container with triangles. Only visible for major lines. @@ -58,7 +58,7 @@ private void load() AddRangeInternal(new Drawable[] { - new Box + line = new Box { Name = "Bar line", Anchor = Anchor.CentreLeft, @@ -99,7 +99,7 @@ private void load() protected override void LoadComplete() { base.LoadComplete(); - major.BindValueChanged(updateMajor); + major.BindValueChanged(updateMajor, true); } private void updateMajor(ValueChangedEvent major)