Skip to content

Commit

Permalink
[sim] GUI: Use shift to enable docking features (#6429)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson authored Mar 11, 2024
1 parent 7cd4a75 commit fbd239d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simulation/halsim_gui/src/main/native/cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ __declspec(dllexport)

glass::SetStorageName("simgui");

gui::AddInit([] { ImGui::GetIO().ConfigDockingWithShift = true; });

HAL_RegisterExtension(HALSIMGUI_EXT_ADDGUIINIT,
reinterpret_cast<void*>((AddGuiInitFn)&AddGuiInit));
HAL_RegisterExtension(
Expand Down

0 comments on commit fbd239d

Please sign in to comment.