mirror of https://github.com/PCSX2/pcsx2.git
Log window: better handling of display size.
Fixes Issue #1092 , don't remember the display size when the log window is maximized since the display size gets too big and the next time you open PCSX2 you'll see a gigantic log window ;) V2: Fix a wrong indentation.
This commit is contained in:
parent
30c4456b85
commit
af855bc295
|
@ -691,7 +691,8 @@ void ConsoleLogFrame::OnMoveAround( wxMoveEvent& evt )
|
|||
|
||||
void ConsoleLogFrame::OnResize( wxSizeEvent& evt )
|
||||
{
|
||||
m_conf.DisplaySize = GetSize();
|
||||
if (!ConsoleLogFrame::IsMaximized())
|
||||
m_conf.DisplaySize = GetSize();
|
||||
evt.Skip();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue