Explorar o código

Allow main window to be resized

Dragon %!s(int64=4) %!d(string=hai) anos
pai
achega
a03fffd26d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))
 			{