mirror of
https://github.com/osukey/osukey.git
synced 2025-06-08 21:07:59 +09:00
Move screen change allowance to local usage
This commit is contained in:
parent
5318de29b4
commit
94ceb1e32b
@ -17,8 +17,6 @@ namespace osu.Game.Screens.Select
|
|||||||
public string ShortTitle => "song selection";
|
public string ShortTitle => "song selection";
|
||||||
public override string Title => ShortTitle.Humanize();
|
public override string Title => ShortTitle.Humanize();
|
||||||
|
|
||||||
public override bool AllowExternalScreenChange => false;
|
|
||||||
|
|
||||||
public MatchSongSelect()
|
public MatchSongSelect()
|
||||||
{
|
{
|
||||||
Padding = new MarginPadding { Horizontal = HORIZONTAL_OVERFLOW_PADDING };
|
Padding = new MarginPadding { Horizontal = HORIZONTAL_OVERFLOW_PADDING };
|
||||||
|
@ -15,6 +15,8 @@ namespace osu.Game.Screens.Select
|
|||||||
private bool removeAutoModOnResume;
|
private bool removeAutoModOnResume;
|
||||||
private OsuScreen player;
|
private OsuScreen player;
|
||||||
|
|
||||||
|
public override bool AllowExternalScreenChange => true;
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
|
@ -45,8 +45,6 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
protected virtual bool ShowFooter => true;
|
protected virtual bool ShowFooter => true;
|
||||||
|
|
||||||
public override bool AllowExternalScreenChange => true;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Can be null if <see cref="ShowFooter"/> is false.
|
/// Can be null if <see cref="ShowFooter"/> is false.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user