imgui: Fix char input handling

This commit is contained in:
Vojtech Kral 2019-02-20 16:55:00 +01:00
parent cb8677b310
commit 478032ad28
2 changed files with 10 additions and 7 deletions

View file

@ -5231,8 +5231,8 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
#if ENABLE_IMGUI
auto imgui = wxGetApp().imgui();
if (imgui->update_key_data(evt)) {
return;
render();
return;
}
#endif // ENABLE_IMGUI