This commit is contained in:
Anna 2022-09-04 03:40:34 -04:00
parent 3f440242fc
commit a35b94699d
3 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,4 @@
using System.Numerics;
using ImGuiNET;
using OrangeGuidanceTomestone.Ui.MainWindowTabs;
@ -22,6 +23,7 @@ internal class MainWindow {
return;
}
ImGui.SetNextWindowSize(new Vector2(475, 300), ImGuiCond.FirstUseEver);
if (!ImGui.Begin(this.Plugin.Name, ref this.Visible)) {
ImGui.End();
return;

View File

@ -21,6 +21,7 @@ internal class Viewer {
return;
}
ImGui.SetNextWindowSize(new Vector2(350, 175), ImGuiCond.FirstUseEver);
if (!ImGui.Begin("Messages", ref this.Visible)) {
ImGui.End();
return;

View File

@ -20,7 +20,7 @@ internal class ViewerButton {
}
ImGui.SetNextWindowBgAlpha(0.5f);
if (!ImGui.Begin("##ogt-viewer-button", ImGuiWindowFlags.NoTitleBar)) {
if (!ImGui.Begin("##ogt-viewer-button", ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.AlwaysAutoResize)) {
ImGui.End();
return;
}