mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
mainContainer -> toolbarClock
This commit is contained in:
parent
b07152a119
commit
6685c97147
@ -85,13 +85,13 @@ namespace osu.Game.Tests.Visual.Menus
|
||||
|
||||
AddStep("Retrieve hover background", () => hoverBackground = (Box)toolbarClock.Children[0]);
|
||||
|
||||
AddStep("Move mouse away from clock", () => InputManager.MoveMouseTo(mainContainer, new Vector2(0,200)));
|
||||
AddStep("Move mouse away from clock", () => InputManager.MoveMouseTo(toolbarClock, new Vector2(0,200)));
|
||||
AddAssert("Hover background is not visible", () => hoverBackground.Alpha == 0);
|
||||
|
||||
AddStep("Move mouse on top of clock", () => InputManager.MoveMouseTo(mainContainer));
|
||||
AddStep("Move mouse on top of clock", () => InputManager.MoveMouseTo(toolbarClock));
|
||||
AddAssert("Hover background is visible", () => hoverBackground.Alpha != 0);
|
||||
|
||||
AddStep("Move mouse away from clock", () => InputManager.MoveMouseTo(mainContainer, new Vector2(0,200)));
|
||||
|
||||
AddStep("Move mouse away from clock", () => InputManager.MoveMouseTo(toolbarClock, new Vector2(0,200)));
|
||||
AddUntilStep("Hover background is not visible", () => hoverBackground.Alpha == 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user