1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 06:09:53 +08:00

Fix comment editor text boxes not having sound feedback

This commit is contained in:
Joseph Madamba
2023-01-21 17:08:42 -08:00
Unverified
parent 292fd345bc
commit da03abc812
3 changed files with 7 additions and 10 deletions
@@ -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);
}