mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-30 23:10:14 -05:00
fixes center docking (#652)
This commit is contained in:
parent
6b50b50a6c
commit
0fd779f002
@ -723,7 +723,7 @@ namespace SohImGui {
|
||||
ImGui::DockBuilderFinish(dockId);
|
||||
}
|
||||
|
||||
ImGui::DockSpace(dockId, ImVec2(0.0f, 0.0f), ImGuiDockNodeFlags_None);
|
||||
ImGui::DockSpace(dockId, ImVec2(0.0f, 0.0f), ImGuiDockNodeFlags_None | ImGuiDockNodeFlags_NoDockingInCentralNode);
|
||||
|
||||
if (ImGui::IsKeyPressed(TOGGLE_BTN)) {
|
||||
bool menu_bar = CVar_GetS32("gOpenMenuBar", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user