mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: Do not save console position when maximised
This commit is contained in:
parent
93dc772565
commit
d6e702a9eb
|
@ -691,13 +691,14 @@ void ConsoleLogFrame::OnMoveAround( wxMoveEvent& evt )
|
||||||
m_conf.AutoDock = true;
|
m_conf.AutoDock = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_conf.DisplayPosition = GetPosition();
|
if (!IsMaximized())
|
||||||
|
m_conf.DisplayPosition = GetPosition();
|
||||||
evt.Skip();
|
evt.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConsoleLogFrame::OnResize( wxSizeEvent& evt )
|
void ConsoleLogFrame::OnResize( wxSizeEvent& evt )
|
||||||
{
|
{
|
||||||
if (!ConsoleLogFrame::IsMaximized())
|
if (!IsMaximized())
|
||||||
m_conf.DisplaySize = GetSize();
|
m_conf.DisplaySize = GetSize();
|
||||||
evt.Skip();
|
evt.Skip();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue