Readjust the window size if the status bar is hidden.
Show the OSD if the status bar is hidden.
This commit is contained in:
parent
8e57e850a4
commit
0d4cfaf056
|
@ -2674,6 +2674,7 @@ EVT_HANDLER(StatusBar, "Enable status bar")
|
|||
mf->GetStatusBar()->Hide();
|
||||
|
||||
mf->SendSizeEvent();
|
||||
panel->AdjustSize(true);
|
||||
}
|
||||
|
||||
EVT_HANDLER(NoStatusMsg, "Disable on-screen status messages")
|
||||
|
|
|
@ -1808,7 +1808,7 @@ void DrawingPanel::DrawArea(u8** data)
|
|||
|
||||
// draw OSD text old-style (directly into output buffer), if needed
|
||||
// new style flickers too much, so we'll stick to this for now
|
||||
if (wxGetApp().frame->IsFullScreen())
|
||||
if (wxGetApp().frame->IsFullScreen() || !gopts.statusbar)
|
||||
{
|
||||
GameArea* panel = wxGetApp().frame->GetPanel();
|
||||
|
||||
|
|
Loading…
Reference in New Issue