mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-29 04:24:17 +01:00
Fix GamePad window size (#1224)
This commit is contained in:
parent
f576269ed0
commit
d33337d539
@ -72,7 +72,7 @@ void PadViewFrame::InitializeRenderCanvas()
|
|||||||
m_render_canvas = GLCanvas_Create(this, wxSize(854, 480), false);
|
m_render_canvas = GLCanvas_Create(this, wxSize(854, 480), false);
|
||||||
sizer->Add(m_render_canvas, 1, wxEXPAND, 0, nullptr);
|
sizer->Add(m_render_canvas, 1, wxEXPAND, 0, nullptr);
|
||||||
}
|
}
|
||||||
SetSizer(sizer);
|
SetSizerAndFit(sizer);
|
||||||
Layout();
|
Layout();
|
||||||
|
|
||||||
m_render_canvas->Bind(wxEVT_KEY_UP, &PadViewFrame::OnKeyUp, this);
|
m_render_canvas->Bind(wxEVT_KEY_UP, &PadViewFrame::OnKeyUp, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user