Allow using emoji keyboard with android screen keyboard together

This commit is contained in:
Benau 2020-07-12 08:46:38 +08:00
parent 4d7fd73543
commit 90a6dc6023

View File

@ -167,7 +167,12 @@ void ScreenKeyboard::init()
y = margin;
}
}
#ifdef ANDROID
// This will allow emoji keyboard opening together with android screen
// keyboard
y += irr_driver->getDevice()->getMovedHeight();
#endif
m_area = core::rect<s32>(x, y, x + w, y + h);
m_irrlicht_window = GUIEngine::getGUIEnv()->addWindow(m_area, true);