mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Allow dynamic screen size change on windows
This commit is contained in:
@@ -173,6 +173,11 @@ void Screen::setSize(int width, int height)
|
||||
{
|
||||
m_width = width;
|
||||
m_height = height;
|
||||
|
||||
// not original code. Will need to re-init again
|
||||
m_buttons.clear();
|
||||
m_textInputs.clear();
|
||||
init();
|
||||
}
|
||||
|
||||
void Screen::updateEvents()
|
||||
|
||||
Reference in New Issue
Block a user