mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 03:42:57 +08:00
Update to not use obsoleted method
This commit is contained in:
parent
4089071299
commit
a80dbba9d0
@ -65,7 +65,7 @@ namespace osu.Game.Tests.Visual.Editing
|
||||
// It's important values are committed immediately on focus loss so the editor exit sequence detects them.
|
||||
AddAssert("value immediately changed on focus loss", () =>
|
||||
{
|
||||
InputManager.TriggerFocusContention(metadataSection);
|
||||
((IFocusManager)InputManager).TriggerFocusContention(metadataSection);
|
||||
return editorBeatmap.Metadata.Artist;
|
||||
}, () => Is.EqualTo("Example ArtistExample Artist"));
|
||||
}
|
||||
|
@ -723,7 +723,7 @@ namespace osu.Game.Screens.Edit
|
||||
//
|
||||
// This is important to ensure that if the user is still editing a textbox, it will commit
|
||||
// (and potentially block the exit procedure for save).
|
||||
GetContainingInputManager().TriggerFocusContention(this);
|
||||
GetContainingFocusManager().TriggerFocusContention(this);
|
||||
|
||||
if (!ExitConfirmed)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user