We had two variables controlling the state of the visibility of the windowed status bar, remove one of them. Fixes issue #448
This commit is contained in:
parent
09d134ff79
commit
b594360a25
|
@ -215,7 +215,6 @@ namespace BizHawk.Client.Common
|
|||
public bool DisplayLagCounter = false;
|
||||
public bool DisplayInput = false;
|
||||
public bool DisplayRerecordCount = false;
|
||||
public bool DisplayStatusBar = true;
|
||||
|
||||
public bool DispBlurry = false; // make display look ugly
|
||||
public bool DispFixAspectRatio = true;
|
||||
|
|
|
@ -667,7 +667,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
DisplayInputMenuItem.ShortcutKeyDisplayString = Global.Config.HotkeyBindings["Input Display"].Bindings;
|
||||
SwitchToFullscreenMenuItem.ShortcutKeyDisplayString = Global.Config.HotkeyBindings["Full Screen"].Bindings;
|
||||
|
||||
DisplayStatusBarMenuItem.Checked = Global.Config.DisplayStatusBar;
|
||||
DisplayStatusBarMenuItem.Checked = Global.Config.DispChrome_StatusBarWindowed;
|
||||
DisplayLogWindowMenuItem.Checked = Global.Config.ShowLogWindow;
|
||||
|
||||
DisplayLagCounterMenuItem.Enabled = Global.Emulator.CanPollInput();
|
||||
|
@ -747,7 +747,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void DisplayStatusBarMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Global.Config.DisplayStatusBar ^= true;
|
||||
Global.Config.DispChrome_StatusBarWindowed ^= true;
|
||||
SetStatusBar();
|
||||
}
|
||||
|
||||
|
@ -755,7 +755,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
if (!_inFullscreen)
|
||||
{
|
||||
MainStatusBar.Visible = Global.Config.DisplayStatusBar;
|
||||
MainStatusBar.Visible = Global.Config.DispChrome_StatusBarWindowed;
|
||||
PerformLayout();
|
||||
FrameBufferResized();
|
||||
}
|
||||
|
|
|
@ -393,14 +393,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
GlobalWin.Tools.Load<Cheats>();
|
||||
}
|
||||
|
||||
if (Global.Config.DisplayStatusBar == false)
|
||||
{
|
||||
MainStatusBar.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisplayStatusBarMenuItem.Checked = true;
|
||||
}
|
||||
SetStatusBar();
|
||||
|
||||
if (Global.Config.StartPaused)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue