Rename for better understanding

ShowOverlays -> AllowOverlays
ShowOverlaysOnEnter -> HideOverlaysOnEnter
This commit is contained in:
Aergwyn
2018-05-21 09:42:29 +02:00
parent 9f0cc7683b
commit 1482bca147
12 changed files with 40 additions and 39 deletions

View File

@ -77,7 +77,7 @@ namespace osu.Game
public float ToolbarOffset => Toolbar.Position.Y + Toolbar.DrawHeight;
public readonly BindableBool ShowOverlays = new BindableBool();
public readonly BindableBool AllowOverlays = new BindableBool();
private OsuScreen screenStack;
@ -367,9 +367,9 @@ namespace osu.Game
settings.StateChanged += _ => updateScreenOffset();
notifications.StateChanged += _ => updateScreenOffset();
notifications.Enabled.BindTo(ShowOverlays);
notifications.Enabled.BindTo(AllowOverlays);
ShowOverlays.ValueChanged += show =>
AllowOverlays.ValueChanged += show =>
{
//central game screen change logic.
if (!show)