mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 01:32:55 +08:00
Rename container
This commit is contained in:
parent
99405a2bbd
commit
9cb331641c
@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
|||||||
{
|
{
|
||||||
public partial class OsuResumeOverlay : ResumeOverlay
|
public partial class OsuResumeOverlay : ResumeOverlay
|
||||||
{
|
{
|
||||||
private Container cursorScaleContainer;
|
private Container resumeCursorContainer;
|
||||||
private OsuClickToResumeCursor clickToResumeCursor;
|
private OsuClickToResumeCursor clickToResumeCursor;
|
||||||
|
|
||||||
private OsuCursorContainer localCursorContainer;
|
private OsuCursorContainer localCursorContainer;
|
||||||
@ -31,7 +31,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
Add(cursorScaleContainer = new Container
|
Add(resumeCursorContainer = new Container
|
||||||
{
|
{
|
||||||
Child = clickToResumeCursor = new OsuClickToResumeCursor { ResumeRequested = Resume }
|
Child = clickToResumeCursor = new OsuClickToResumeCursor { ResumeRequested = Resume }
|
||||||
});
|
});
|
||||||
@ -42,7 +42,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
|||||||
base.PopIn();
|
base.PopIn();
|
||||||
|
|
||||||
GameplayCursor.ActiveCursor.Hide();
|
GameplayCursor.ActiveCursor.Hide();
|
||||||
cursorScaleContainer.Position = ToLocalSpace(GameplayCursor.ActiveCursor.ScreenSpaceDrawQuad.Centre);
|
resumeCursorContainer.Position = ToLocalSpace(GameplayCursor.ActiveCursor.ScreenSpaceDrawQuad.Centre);
|
||||||
clickToResumeCursor.Appear();
|
clickToResumeCursor.Appear();
|
||||||
|
|
||||||
if (localCursorContainer == null)
|
if (localCursorContainer == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user