mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:02:55 +08:00
Rename caret class
This commit is contained in:
parent
3865090fff
commit
93ff25d2a4
@ -65,19 +65,19 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user