Skip to content

Commit

Permalink
fix the typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Feb 19, 2022
1 parent 439a022 commit cca938b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private class RecordingTimeTagVisualization : CompositeDrawable, IHasCustomToolt
[Resolved]
private ILyricTimeTagsChangeHandler lyricTimeTagsChangeHandler { get; set; }

private readonly Bindable<double?> bindableTIme;
private readonly Bindable<double?> bindableTime;

private readonly RightTriangle timeTagTriangle;

Expand All @@ -138,7 +138,7 @@ public RecordingTimeTagVisualization(Lyric lyric, TimeTag timeTag)
RelativePositionAxes = Axes.X;
Size = new Vector2(RecordingTimeTagEditor.TIMELINE_HEIGHT);

bindableTIme = timeTag.TimeBindable.GetBoundCopy();
bindableTime = timeTag.TimeBindable.GetBoundCopy();
InternalChildren = new Drawable[]
{
timeTagTriangle = new RightTriangle
Expand All @@ -163,7 +163,7 @@ private void load(OsuColour colours, RecordingTimeTagEditor timeline)
{
timeTagTriangle.Colour = colours.GetTimeTagColour(timeTag);

bindableTIme.BindValueChanged(e =>
bindableTime.BindValueChanged(e =>
{
bool hasValue = e.NewValue.HasValue;
Alpha = hasValue ? 1 : 0;
Expand Down

0 comments on commit cca938b

Please sign in to comment.