Skip to content

Commit

Permalink
Fix ImGui::DockSpaceOverViewport call
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley committed Jun 27, 2024
1 parent 9e4c4c0 commit 04ca21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oscar/UI/oscimgui.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ namespace osc::ui

inline ImGuiID enable_dockspace_over_viewport(const ImGuiViewport* viewport = NULL, ImGuiDockNodeFlags flags = 0, const ImGuiWindowClass* window_class = NULL)
{
return ImGui::DockSpaceOverViewport(viewport, flags, window_class);
return ImGui::DockSpaceOverViewport(0, viewport, flags, window_class);
}

inline bool begin_panel(CStringView name, bool* p_open = nullptr, ImGuiWindowFlags flags = 0)
Expand Down

0 comments on commit 04ca21d

Please sign in to comment.