Fix hidden nodes preventing native tooltips from propogating

This commit is contained in:
MidoriKami 2023-09-20 11:22:58 -07:00
parent b26550eea9
commit 48e60a7a5d

View file

@ -232,6 +232,11 @@ public sealed unsafe class DtrBar : IDisposable, IServiceType, IDtrBar
data.TextNode->AtkResNode.SetPositionFloat(runningXPos, 2); data.TextNode->AtkResNode.SetPositionFloat(runningXPos, 2);
} }
} }
else
{
// If we want the node hidden, shift it up, to prevent collision conflicts
data.TextNode->AtkResNode.SetY(-collisionNode->Height);
}
} }
} }