mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 01:57:51 +08:00
Update caret layout
This commit is contained in:
parent
f0ddcb22c6
commit
67a9eab741
@ -314,18 +314,16 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
public OsuCaret()
|
public OsuCaret()
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Y;
|
|
||||||
Size = new Vector2(1, 0.9f);
|
|
||||||
|
|
||||||
Colour = Color4.Transparent;
|
Colour = Color4.Transparent;
|
||||||
Anchor = Anchor.CentreLeft;
|
|
||||||
Origin = Anchor.CentreLeft;
|
|
||||||
|
|
||||||
Masking = true;
|
|
||||||
CornerRadius = 1;
|
|
||||||
InternalChild = beatSync = new CaretBeatSyncedContainer
|
InternalChild = beatSync = new CaretBeatSyncedContainer
|
||||||
{
|
{
|
||||||
|
Anchor = Anchor.CentreLeft,
|
||||||
|
Origin = Anchor.CentreLeft,
|
||||||
|
Masking = true,
|
||||||
|
CornerRadius = 1f,
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Height = 0.9f,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user