From 7f05b2a1ec8b900fadca500158b81fc2f54d89ae Mon Sep 17 00:00:00 2001 From: Mike Date: Thu, 14 Feb 2019 18:59:45 -0800 Subject: [PATCH] dont allow dragging windows besides from title bar --- project_name/ImGui/ImGuiFinalRenderDelegate.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/project_name/ImGui/ImGuiFinalRenderDelegate.cs b/project_name/ImGui/ImGuiFinalRenderDelegate.cs index 8f2dbf7..7853005 100644 --- a/project_name/ImGui/ImGuiFinalRenderDelegate.cs +++ b/project_name/ImGui/ImGuiFinalRenderDelegate.cs @@ -18,6 +18,7 @@ namespace Nez { _imGuiRenderer = new ImGuiRenderer( Core.instance ); _imGuiRenderer.rebuildFontAtlas(); + ImGui.GetIO().ConfigWindowsMoveFromTitleBarOnly = true; } [Console.Command( "toggle-imgui", "Toggles the Dear ImGui renderer" )]