Fix synth helper button formatting

This commit is contained in:
Asriel Camora
2023-07-22 17:34:11 -07:00
parent 17a83bfb49
commit a36925dfaa
+1 -1
View File
@@ -54,7 +54,7 @@ public sealed unsafe partial class Craft : Window, IDisposable
ImGuiHelpers.ScaledDummy(5); ImGuiHelpers.ScaledDummy(5);
ImGui.PushFont(UiBuilder.IconFont); ImGui.PushFont(UiBuilder.IconFont);
var cogWidth = ImGui.CalcTextSize(FontAwesomeIcon.Cog.ToIconString()).X; var cogWidth = ImGui.CalcTextSize(FontAwesomeIcon.Cog.ToIconString()).X + (ImGui.GetStyle().FramePadding.X * 2);
ImGui.PopFont(); ImGui.PopFont();
ImGui.BeginDisabled(!(SolverTask?.IsCompleted ?? true)); ImGui.BeginDisabled(!(SolverTask?.IsCompleted ?? true));