1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 19:27:24 +08:00

Merge branch 'edit-nodesample' of https://github.com/OliBomby/osu into edit-nodesample

This commit is contained in:
OliBomby 2024-06-06 14:48:18 +02:00
commit ba78b8759e

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);
});