Skip to content

Commit

Permalink
Update test border caret
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzibyte committed Dec 12, 2023
1 parent 0958965 commit 1876a71
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions osu.Framework.Tests/Visual/UserInterface/TestSceneTextBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -923,16 +923,19 @@ private partial class BorderCaret : Caret

public BorderCaret()
{
RelativeSizeAxes = Axes.Y;

Masking = true;
BorderColour = Color4.White;
BorderThickness = 3;

InternalChild = new Box
InternalChild = new Container
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
RelativeSizeAxes = Axes.Both,
Colour = Color4.Transparent
Masking = true,
BorderColour = Colour4.White,
BorderThickness = 3f,
Child = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = Colour4.Transparent,
},
};
}

Expand Down

0 comments on commit 1876a71

Please sign in to comment.