From d5474f9ac9179a802e19e3d3bf3162a4da2a5c81 Mon Sep 17 00:00:00 2001 From: andy840119 Date: Tue, 10 Sep 2024 23:07:36 +0800 Subject: [PATCH] Fix the naming. --- .../Lyrics/Carets/DrawableRecordingTimeTagCaret.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Components/Lyrics/Carets/DrawableRecordingTimeTagCaret.cs b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Components/Lyrics/Carets/DrawableRecordingTimeTagCaret.cs index b26f9269a..f59601c79 100644 --- a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Components/Lyrics/Carets/DrawableRecordingTimeTagCaret.cs +++ b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Components/Lyrics/Carets/DrawableRecordingTimeTagCaret.cs @@ -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 pendingTimeTags = null!; [Resolved] @@ -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, @@ -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();