mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09: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 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,
|
CaretWidth = CaretWidth,
|
||||||
SelectionColour = SelectionColour,
|
SelectionColour = SelectionColour,
|
||||||
};
|
};
|
||||||
|
|
||||||
private class BeatCaret : Caret
|
private class OsuCaret : Caret
|
||||||
{
|
{
|
||||||
private const float caret_move_time = 60;
|
private const float caret_move_time = 60;
|
||||||
|
|
||||||
private readonly CaretBeatSyncedContainer beatSync;
|
private readonly CaretBeatSyncedContainer beatSync;
|
||||||
|
|
||||||
public BeatCaret()
|
public OsuCaret()
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Y;
|
RelativeSizeAxes = Axes.Y;
|
||||||
Size = new Vector2(1, 0.9f);
|
Size = new Vector2(1, 0.9f);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user