Skip to content

Commit

Permalink
Merge pull request #1169 from EVAST9919/textbox-regression-fix
Browse files Browse the repository at this point in the history
Fix textbox regression
  • Loading branch information
peppy authored Nov 18, 2017
2 parents 887db79 + 8ccc3bc commit f27e36d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Framework/Graphics/UserInterface/TextBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ public class TextBox : TabbableContainer, IHasCurrentValue<string>

public TextBox()
{
Masking = true;
CornerRadius = 3;
// TextBoxes currently require their own top-level PlatformInputManager, as InputManagers
// will not propagate events through other InputManagers.
// Once this restriction has been addressed, we can utilise a single instance of PlatformInputManager
// at the Game level, and TextBoxes need only implement IKeyBindingHandler<PlatformAction>.
Child = new PlatformInputManager
{
Masking = true,
CornerRadius = 3,
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]
{
Expand Down

0 comments on commit f27e36d

Please sign in to comment.