mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 12:04:17 +01:00
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:
1 parent
30c4456b85
commit
af855bc295
1 file changed
+2
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user