mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 20:33:40 +01:00
Remove %% replacements
This commit is contained in:
parent
c6dc051cc6
commit
4fb400eb6e
4 changed files with 5 additions and 5 deletions
|
|
@ -106,7 +106,7 @@ internal unsafe class UiDebug
|
|||
ImGui.Separator();
|
||||
|
||||
ImGui.Text($"Position: [ {atkUnitBase->X} , {atkUnitBase->Y} ]");
|
||||
ImGui.Text($"Scale: {atkUnitBase->Scale * 100}%%");
|
||||
ImGui.Text($"Scale: {atkUnitBase->Scale * 100}%");
|
||||
ImGui.Text($"Widget Count {atkUnitBase->UldManager.ObjectCount}");
|
||||
|
||||
ImGui.Separator();
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ internal static class DataWindowWidgetExtensions
|
|||
ImGui.SetNextWindowSizeConstraints(Vector2.One, new(wrx, float.MaxValue));
|
||||
ImGui.BeginTooltip();
|
||||
ImGui.PushTextWrapPos(wrx);
|
||||
ImGui.TextWrapped(s.Replace("%", "%%"));
|
||||
ImGui.TextWrapped(s);
|
||||
ImGui.PopTextWrapPos();
|
||||
ImGui.EndTooltip();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
|
|
@ -224,7 +224,7 @@ internal class DataShareWidget : IDataWindowWidget
|
|||
using (ImRaii.Tooltip())
|
||||
{
|
||||
ImGui.PushTextWrapPos(wrx);
|
||||
ImGui.TextWrapped((tooltip?.Invoke() ?? s).Replace("%", "%%"));
|
||||
ImGui.TextWrapped(tooltip?.Invoke() ?? s);
|
||||
ImGui.PopTextWrapPos();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ public class IconBrowserWidget : IDataWindowWidget
|
|||
}
|
||||
|
||||
if (ImGui.IsItemHovered())
|
||||
ImGui.SetTooltip($"{iconId}\n{exc}".Replace("%", "%%"));
|
||||
ImGui.SetTooltip($"{iconId}\n{exc}");
|
||||
|
||||
ImGui.GetWindowDrawList().AddRect(
|
||||
cursor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue