Skip to content

Commit

Permalink
Fix the naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Sep 10, 2024
1 parent 365588a commit d5474f9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private partial class TextIndexInfo : CompositeDrawable
{
private const int border_radius = 5;

private DrawableTimeTag currentTextTag = null!;
private DrawableTimeTag currentTimeTag = null!;
private FillFlowContainer<DrawableTimeTag> pendingTimeTags = null!;

[Resolved]
Expand Down Expand Up @@ -175,7 +175,7 @@ private void load(LyricEditorColourProvider colourProvider, ILyricEditorState st
RelativeSizeAxes = Axes.Both,
Colour = colourProvider.Background5(state.Mode),
},
currentTextTag = new DrawableTimeTag
currentTimeTag = new DrawableTimeTag
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Expand All @@ -199,7 +199,7 @@ private void load(LyricEditorColourProvider colourProvider, ILyricEditorState st

public void UpdateCaret(RecordingTimeTagCaretPosition caret)
{
currentTextTag.TimeTag = caret.TimeTag;
currentTimeTag.TimeTag = caret.TimeTag;

int paddingIndicator = caret.GetPaddingTextIndex();
pendingTimeTags.Clear();
Expand Down

0 comments on commit d5474f9

Please sign in to comment.