mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: Do not move console with main frame if maximised
This commit is contained in:
parent
d6e702a9eb
commit
98de0d4351
|
@ -163,10 +163,15 @@ void MainEmuFrame::OnMoveAround( wxMoveEvent& evt )
|
||||||
|
|
||||||
if( g_Conf->ProgLogBox.AutoDock )
|
if( g_Conf->ProgLogBox.AutoDock )
|
||||||
{
|
{
|
||||||
g_Conf->ProgLogBox.DisplayPosition = GetRect().GetTopRight();
|
|
||||||
if (ConsoleLogFrame* proglog = wxGetApp().GetProgramLog())
|
if (ConsoleLogFrame* proglog = wxGetApp().GetProgramLog())
|
||||||
|
{
|
||||||
|
if (!proglog->IsMaximized())
|
||||||
|
{
|
||||||
|
g_Conf->ProgLogBox.DisplayPosition = GetRect().GetTopRight();
|
||||||
proglog->SetPosition(g_Conf->ProgLogBox.DisplayPosition);
|
proglog->SetPosition(g_Conf->ProgLogBox.DisplayPosition);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
evt.Skip();
|
evt.Skip();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue