Skip to content

Commit ad68135

Browse files
committed
Code cleanup
1 parent df5a5c9 commit ad68135

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/OvUI/src/OvUI/Core/UIManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ OvUI::Core::UIManager::UIManager(GLFWwindow* p_glfwWindow, Styling::EStyle p_sty
3232
{
3333
ImGui::CreateContext();
3434

35-
ImGui::GetIO().ConfigWindowsMoveFromTitleBarOnly = true; /* Disable moving windows by dragging another thing than the title bar */
3635
ImGuiIO& io = ImGui::GetIO();
36+
io.ConfigWindowsMoveFromTitleBarOnly = true; /* Disable moving windows by dragging another thing than the title bar */
3737
io.ConfigFlags |= ImGuiConfigFlags_DpiEnableScaleViewports;
3838
io.ConfigFlags |= ImGuiConfigFlags_DpiEnableScaleFonts;
3939
EnableDocking(false);

0 commit comments

Comments
 (0)