mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Workaround to fix gizmos' imgui dialog not showing up the first time the user activates them by using keyboard shortcuts.
This commit is contained in:
@@ -2264,7 +2264,12 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (m_gizmos.on_char(evt))
|
if (m_gizmos.on_char(evt))
|
||||||
|
{
|
||||||
|
// FIXME: Without the following call to render(), the gimgui dialogs are not shown the first time the user tries to open them using the keyboard shortcuts
|
||||||
|
// (it looks like as if 2 render calls are needed before they show up)
|
||||||
|
render();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
//#ifdef __APPLE__
|
//#ifdef __APPLE__
|
||||||
// ctrlMask |= wxMOD_RAW_CONTROL;
|
// ctrlMask |= wxMOD_RAW_CONTROL;
|
||||||
|
|||||||
Reference in New Issue
Block a user