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,9 +163,14 @@ void MainEmuFrame::OnMoveAround( wxMoveEvent& evt )
|
|||
|
||||
if( g_Conf->ProgLogBox.AutoDock )
|
||||
{
|
||||
g_Conf->ProgLogBox.DisplayPosition = GetRect().GetTopRight();
|
||||
if( ConsoleLogFrame* proglog = wxGetApp().GetProgramLog() )
|
||||
proglog->SetPosition( g_Conf->ProgLogBox.DisplayPosition );
|
||||
if (ConsoleLogFrame* proglog = wxGetApp().GetProgramLog())
|
||||
{
|
||||
if (!proglog->IsMaximized())
|
||||
{
|
||||
g_Conf->ProgLogBox.DisplayPosition = GetRect().GetTopRight();
|
||||
proglog->SetPosition(g_Conf->ProgLogBox.DisplayPosition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
evt.Skip();
|
||||
|
|
Loading…
Reference in New Issue