Skip to content

Commit

Permalink
Rename the drawable caret.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Sep 5, 2023
1 parent 62b8ae5 commit d300aac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Beatmaps.Lyrics.Components.Lyrics.Carets;

public partial class DrawableCreateRubyTagCaretPosition : DrawableRangeCaret<CreateRubyTagCaretPosition>
public partial class DrawableCreateRubyTagCaret : DrawableRangeCaret<CreateRubyTagCaretPosition>
{
private const float border_spacing = 5;
private const float caret_move_time = 60;
Expand All @@ -32,7 +32,7 @@ public partial class DrawableCreateRubyTagCaretPosition : DrawableRangeCaret<Cre

private readonly IconButton icon;

public DrawableCreateRubyTagCaretPosition(DrawableCaretType type)
public DrawableCreateRubyTagCaret(DrawableCaretType type)
: base(type)
{
InternalChildren = new Drawable[]
Expand Down

0 comments on commit d300aac

Please sign in to comment.