Fix comment editor text boxes not having sound feedback

This commit is contained in:
Joseph Madamba
2023-01-21 17:08:42 -08:00
parent 292fd345bc
commit da03abc812
3 changed files with 7 additions and 10 deletions

View File

@ -250,13 +250,16 @@ namespace osu.Game.Graphics.UserInterface
protected override void OnFocus(FocusEvent e)
{
BorderThickness = 3;
if (Masking)
BorderThickness = 3;
base.OnFocus(e);
}
protected override void OnFocusLost(FocusLostEvent e)
{
BorderThickness = 0;
if (Masking)
BorderThickness = 0;
base.OnFocusLost(e);
}