1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 15:27:30 +08:00

Fix obsoletion warning

This commit is contained in:
Bartłomiej Dach 2024-06-06 13:50:31 +02:00
parent 7a8a37dae6
commit dd9c77d248
No known key found for this signature in database

View File

@ -502,7 +502,7 @@ namespace osu.Game.Tests.Visual.Editing
textBox.Current.Value = bank;
// force a commit via keyboard.
// this is needed when testing attempting to set empty bank - which should revert to the previous value, but only on commit.
InputManager.ChangeFocus(textBox);
((IFocusManager)InputManager).ChangeFocus(textBox);
InputManager.Key(Key.Enter);
});