Skip to content

Commit

Permalink
Minor UI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
WorkingRobot committed Jul 1, 2024
1 parent 716fa55 commit 62d03fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Craftimizer/Windows/MacroEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ private void DrawIngredientHQEntry(int idx)
var total = RecipeData.CalculateItemStartingQuality(idx, hqCount);
ImGuiUtils.Tooltip($"{ingredient.Item.Name.ToDalamudString()} {SeIconChar.HighQuality.ToIconString()}\n+{perItem} Quality/Item{(total > 0 ? $"\n+{total} Quality" : "")}");
}
else
else if (ingredient.Amount != 0)
ImGuiUtils.Tooltip($"{ingredient.Item.Name.ToDalamudString()}");
}
ImGui.SameLine(0, 5);
Expand Down
2 changes: 1 addition & 1 deletion Craftimizer/Windows/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ private void DrawTabAbout()
using (HeaderFont.Push())
{
ImGuiUtils.AlignCentered(ImGui.CalcTextSize("Craftimizer").X);
ImGuiUtils.Hyperlink("Craftimizer", "https://github.com/WorkingRobot/craftimizer", false);
ImGuiUtils.Hyperlink("Craftimizer", "https://github.com/WorkingRobot/Craftimizer", false);
}

using (SubheaderFont.Push())
Expand Down
2 changes: 1 addition & 1 deletion Simulator/Actions/BaseBuffAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public override void UseSuccess(Simulator s) =>
public override string GetTooltip(Simulator s, bool addUsability)
{
var builder = new StringBuilder(base.GetTooltip(s, addUsability));
builder.AppendLine($"{Duration} Steps");
builder.AppendLine(Duration != 1 ? $"{Duration} Steps" : $"{Duration} Step");
return builder.ToString();
}

Expand Down

0 comments on commit 62d03fd

Please sign in to comment.