Skip to content

Commit

Permalink
Fix compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Dec 24, 2020
1 parent 066535b commit e30ddcc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class DrawableBarLine : DrawableKaraokeScrollingHitObject<BarLine>
/// <summary>
/// The visual line tracker.
/// </summary>
private Container line;
private Box line;

/// <summary>
/// Container with triangles. Only visible for major lines.
Expand All @@ -58,7 +58,7 @@ private void load()

AddRangeInternal(new Drawable[]
{
new Box
line = new Box
{
Name = "Bar line",
Anchor = Anchor.CentreLeft,
Expand Down Expand Up @@ -99,7 +99,7 @@ private void load()
protected override void LoadComplete()
{
base.LoadComplete();
major.BindValueChanged(updateMajor);
major.BindValueChanged(updateMajor, true);
}

private void updateMajor(ValueChangedEvent<bool> major)
Expand Down

0 comments on commit e30ddcc

Please sign in to comment.