Update caret layout

This commit is contained in:
Salman Ahmed 2023-12-12 21:21:11 +03:00
parent f0ddcb22c6
commit 67a9eab741
1 changed files with 5 additions and 7 deletions

View File

@ -314,18 +314,16 @@ private partial class OsuCaret : Caret
public OsuCaret()
{
RelativeSizeAxes = Axes.Y;
Size = new Vector2(1, 0.9f);
Colour = Color4.Transparent;
Anchor = Anchor.CentreLeft;
Origin = Anchor.CentreLeft;
Masking = true;
CornerRadius = 1;
InternalChild = beatSync = new CaretBeatSyncedContainer
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Masking = true,
CornerRadius = 1f,
RelativeSizeAxes = Axes.Both,
Height = 0.9f,
};
}