瀏覽代碼

Allow main window to be resized

Dragon 4 年之前
父節點
當前提交
a03fffd26d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Interface.cs

+ 1 - 1
Interface.cs

@@ -29,7 +29,7 @@ namespace HuntBuddy
 
 			var fontGlobalScale = ImGui.GetIO().FontGlobalScale;
 
-			ImGui.SetNextWindowSize(new Vector2(400 * ImGui.GetIO().FontGlobalScale, 500), ImGuiCond.Always);
+			ImGui.SetNextWindowSize(new Vector2(400 * ImGui.GetIO().FontGlobalScale, 500), ImGuiCond.Once);
 
 			if (!ImGui.Begin($"{_plugin.Name}", ref draw))
 			{