Fix not applying spacing when set to grow from the right

This commit is contained in:
MidoriKami 2023-09-20 10:56:07 -07:00
parent 5f86496360
commit b26550eea9

View file

@ -223,7 +223,7 @@ public sealed unsafe class DtrBar : IDisposable, IServiceType, IDtrBar
if (this.configuration.DtrSwapDirection) if (this.configuration.DtrSwapDirection)
{ {
data.TextNode->AtkResNode.SetPositionFloat(runningXPos, 2); data.TextNode->AtkResNode.SetPositionFloat(runningXPos + this.configuration.DtrSpacing, 2);
runningXPos += elementWidth; runningXPos += elementWidth;
} }
else else