With the fix applied, on Iceberg 1.1.8, the tooltip name separator looks correct:
Then I loaded into Iceberg 1.1.9.1, to test. The tooltip now renders incorrectly again (but this version accidentally fixes(?) the bug without my fix).
Can you help me out with some info regarding this? From what it looks like, and the comment above the code part I fixed, it seems like my fix should be correct. But I am not sure anymore.
All item screenshots were recorded on the Wynncraft server.
(I have originally started looking into your mod since the mod I am working on has a weird interaction with this mod, related this name separator. However, before addressing that, I would like this to be cleared up.)
I have originally wanted to fix this, rather than creating an issue. However I ran into issues I need your help with.
I set up the development environment, and fixed (I think) the bug with Iceberg 1.1.8 (as it is the version required by the build script). See https://github.com/kristofbolyai/LegendaryTooltips/commit/d08ecec774c11c3215351ff507b70d429528ab1e.
With the fix applied, on Iceberg 1.1.8, the tooltip name separator looks correct:![image](https://github.com/AHilyard/LegendaryTooltips/assets/49001742/4f51c6c3-18f5-4379-ae03-e658e5ba1c6d)
Then I loaded into Iceberg 1.1.9.1, to test. The tooltip now renders incorrectly again (but this version accidentally fixes(?) the bug without my fix).![image](https://github.com/AHilyard/LegendaryTooltips/assets/49001742/e1814d40-4169-43c8-8f6c-791afea6010c)
I have went ahead to track the issue down. It seems like
com.anthonyhilyard.legendarytooltips.tooltip.TooltipDecor#drawBorder
is called with different x values in the different Iceberg versions. This is most likely caused by https://github.com/AHilyard/Iceberg/commit/b35061a82bed88966b6efdab39fc3c5b11cb0267#diff-9f8609ea0ddf40b8bc92a95fce6270087d168bc69011dc3c5d739d389c72be93.Can you help me out with some info regarding this? From what it looks like, and the comment above the code part I fixed, it seems like my fix should be correct. But I am not sure anymore.
All item screenshots were recorded on the Wynncraft server.
(I have originally started looking into your mod since the mod I am working on has a weird interaction with this mod, related this name separator. However, before addressing that, I would like this to be cleared up.)