This commit is contained in:
Anna 2022-09-06 03:59:39 -04:00
parent 7b641d1948
commit df26b5b8b3
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ internal class MainWindow {
return; return;
} }
ImGui.SetNextWindowSize(new Vector2(475, 300), ImGuiCond.FirstUseEver); ImGui.SetNextWindowSize(new Vector2(475, 350), ImGuiCond.FirstUseEver);
if (!ImGui.Begin(this.Plugin.Name, ref this.Visible)) { if (!ImGui.Begin(this.Plugin.Name, ref this.Visible)) {
ImGui.End(); ImGui.End();
return; return;

View File

@ -153,7 +153,7 @@ internal class Write : ITab {
actualText = preview.ToString(); actualText = preview.ToString();
var actualSize = ImGui.CalcTextSize(actualText); var actualSize = ImGui.CalcTextSize(actualText);
ImGui.Dummy(new Vector2(1, imageHeight / 2 - actualSize.Y / 2)); ImGui.Dummy(new Vector2(1, imageHeight / 2 - actualSize.Y / 2 - ImGui.GetStyle().ItemSpacing.Y));
ImGui.TextUnformatted(actualText); ImGui.TextUnformatted(actualText);
} }
@ -176,7 +176,7 @@ internal class Write : ITab {
} }
} }
if (ImGui.BeginCombo("Glyph", this._glyph.ToString())) { if (ImGui.BeginCombo("Glyph", $"{this._glyph + 1}")) {
var tooltipShown = false; var tooltipShown = false;
for (var i = 0; i < 5; i++) { for (var i = 0; i < 5; i++) {