mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-18 22:07:44 +01:00
cs bump
This commit is contained in:
parent
5471fb3fad
commit
8d0b3b1e28
2 changed files with 4 additions and 4 deletions
|
|
@ -241,7 +241,7 @@ internal sealed unsafe class DtrBar : IInternalDisposableService, IDtrBar
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// If we want the node hidden, shift it up, to prevent collision conflicts
|
// If we want the node hidden, shift it up, to prevent collision conflicts
|
||||||
data.TextNode->AtkResNode.SetY(-collisionNode->Height * dtr->RootNode->ScaleX);
|
data.TextNode->AtkResNode.SetYFloat(-collisionNode->Height * dtr->RootNode->ScaleX);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -303,10 +303,10 @@ internal sealed unsafe class DtrBar : IInternalDisposableService, IDtrBar
|
||||||
var targetX = minX - (this.configuration.DtrSwapDirection ? 0 : additionalWidth);
|
var targetX = minX - (this.configuration.DtrSwapDirection ? 0 : additionalWidth);
|
||||||
var targetWidth = (ushort)(nativeWidth + additionalWidth);
|
var targetWidth = (ushort)(nativeWidth + additionalWidth);
|
||||||
|
|
||||||
if (collisionNode->Width != targetWidth || collisionNode->X != targetX)
|
if (collisionNode->Width != targetWidth || Math.Abs(collisionNode->X - targetX) > 0.0001)
|
||||||
{
|
{
|
||||||
collisionNode->SetWidth(targetWidth);
|
collisionNode->SetWidth(targetWidth);
|
||||||
collisionNode->SetX(targetX);
|
collisionNode->SetXFloat(targetX);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we are drawing backwards, we should start from the right side of the native nodes.
|
// If we are drawing backwards, we should start from the right side of the native nodes.
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 53da4ea7d8655f273d652b4b7182edf85bd5a6a9
|
Subproject commit 1ed9dd8ece743cca65c04977184533d61233ae06
|
||||||
Loading…
Add table
Add a link
Reference in a new issue