From d300aacc06b9ec790686b29f8301771984ed4225 Mon Sep 17 00:00:00 2001 From: andy840119 Date: Tue, 5 Sep 2023 21:23:22 +0800 Subject: [PATCH] Rename the drawable caret. --- .../Edit/Beatmaps/Lyrics/Components/Lyrics/CaretLayer.cs | 2 +- ...eRubyTagCaretPosition.cs => DrawableCreateRubyTagCaret.cs} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Components/Lyrics/Carets/{DrawableCreateRubyTagCaretPosition.cs => DrawableCreateRubyTagCaret.cs} (95%) diff --git a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Components/Lyrics/CaretLayer.cs b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Components/Lyrics/CaretLayer.cs index fc423fab5..1c8655b6a 100644 --- a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Components/Lyrics/CaretLayer.cs +++ b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Components/Lyrics/CaretLayer.cs @@ -80,7 +80,7 @@ private void updateDrawableCaret(ICaretPosition? position, DrawableCaretType typ // typing TypingCaretPosition => new DrawableTypingCaret(type), // creat ruby-tag - CreateRubyTagCaretPosition => new DrawableCreateRubyTagCaretPosition(type), + CreateRubyTagCaretPosition => new DrawableCreateRubyTagCaret(type), // creat time-tag TimeTagIndexCaretPosition => new DrawableTimeTagIndexCaret(type), // record time-tag diff --git a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Components/Lyrics/Carets/DrawableCreateRubyTagCaretPosition.cs b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Components/Lyrics/Carets/DrawableCreateRubyTagCaret.cs similarity index 95% rename from osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Components/Lyrics/Carets/DrawableCreateRubyTagCaretPosition.cs rename to osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Components/Lyrics/Carets/DrawableCreateRubyTagCaret.cs index 68f68bbf7..65b6aa3e2 100644 --- a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Components/Lyrics/Carets/DrawableCreateRubyTagCaretPosition.cs +++ b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Components/Lyrics/Carets/DrawableCreateRubyTagCaret.cs @@ -18,7 +18,7 @@ namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Beatmaps.Lyrics.Components.Lyrics.Carets; -public partial class DrawableCreateRubyTagCaretPosition : DrawableRangeCaret +public partial class DrawableCreateRubyTagCaret : DrawableRangeCaret { private const float border_spacing = 5; private const float caret_move_time = 60; @@ -32,7 +32,7 @@ public partial class DrawableCreateRubyTagCaretPosition : DrawableRangeCaret