Skip to content

Commit

Permalink
Merge pull request #2624 from Aergwyn/hide-toolbar-after-play
Browse files Browse the repository at this point in the history
Fix incorrect default values keeping overlays in wrong state
  • Loading branch information
peppy committed May 24, 2018
2 parents 194710e + 0c0f86f commit 6d6cea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Game/Screens/OsuScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ public abstract class OsuScreen : Screen, IKeyBindingHandler<GlobalAction>
/// <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.
Expand Down

0 comments on commit 6d6cea1

Please sign in to comment.