1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42:56 +08:00

fix incorrect default values keeping overlays in wrong state

This commit is contained in:
Aergwyn 2018-05-23 16:23:03 +02:00
parent 194710eae4
commit 0c0f86fe26

View File

@ -37,14 +37,14 @@ namespace osu.Game.Screens
/// <summary>
/// Whether overlays should be hidden when this screen is entered or resumed.
/// </summary>
protected virtual bool HideOverlaysOnEnter => hideOverlaysOnEnter;
protected virtual bool HideOverlaysOnEnter => false;
private readonly BindableBool allowOpeningOverlays = new BindableBool();
/// <summary>
/// Whether overlays should be able to be opened while this screen is active.
/// </summary>
protected virtual bool AllowOpeningOverlays => allowOpeningOverlays;
protected virtual bool AllowOpeningOverlays => true;
/// <summary>
/// Whether this <see cref="OsuScreen"/> allows the cursor to be displayed.