mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:17:51 +08:00
Remove unused local variable
This commit is contained in:
parent
d25a03984b
commit
a42992d3fd
@ -728,17 +728,14 @@ namespace osu.Game.Tests.Visual.Navigation
|
|||||||
AddStep("set hold delay to 0", () => Game.LocalConfig.SetValue(OsuSetting.UIHoldActivationDelay, 0.0));
|
AddStep("set hold delay to 0", () => Game.LocalConfig.SetValue(OsuSetting.UIHoldActivationDelay, 0.0));
|
||||||
AddUntilStep("wait for dialog overlay", () => Game.ChildrenOfType<DialogOverlay>().SingleOrDefault() != null);
|
AddUntilStep("wait for dialog overlay", () => Game.ChildrenOfType<DialogOverlay>().SingleOrDefault() != null);
|
||||||
|
|
||||||
ProgressNotification progressNotification = null!;
|
|
||||||
|
|
||||||
AddStep("start ongoing operation", () =>
|
AddStep("start ongoing operation", () =>
|
||||||
{
|
{
|
||||||
progressNotification = new ProgressNotification
|
Game.Notifications.Post(new ProgressNotification
|
||||||
{
|
{
|
||||||
Text = "Something is still running",
|
Text = "Something is still running",
|
||||||
Progress = 0.5f,
|
Progress = 0.5f,
|
||||||
State = ProgressNotificationState.Active,
|
State = ProgressNotificationState.Active,
|
||||||
};
|
});
|
||||||
Game.Notifications.Post(progressNotification);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
AddStep("attempt exit", () =>
|
AddStep("attempt exit", () =>
|
||||||
|
Loading…
Reference in New Issue
Block a user