Rename caret class

This commit is contained in:
Dean Herbert 2020-02-09 15:36:44 +09:00
parent 3865090fff
commit 93ff25d2a4
1 changed files with 3 additions and 3 deletions

View File

@ -65,19 +65,19 @@ protected override void OnFocusLost(FocusLostEvent e)
protected override Drawable GetDrawableCharacter(char c) => new OsuSpriteText { Text = c.ToString(), Font = OsuFont.GetFont(size: CalculatedTextSize) };
protected override Caret CreateCaret() => new BeatCaret
protected override Caret CreateCaret() => new OsuCaret
{
CaretWidth = CaretWidth,
SelectionColour = SelectionColour,
};
private class BeatCaret : Caret
private class OsuCaret : Caret
{
private const float caret_move_time = 60;
private readonly CaretBeatSyncedContainer beatSync;
public BeatCaret()
public OsuCaret()
{
RelativeSizeAxes = Axes.Y;
Size = new Vector2(1, 0.9f);