From 403e94f9d0ba07399e23ae4bd40cc93f5b0e499f Mon Sep 17 00:00:00 2001 From: KazWolfe Date: Tue, 31 Oct 2023 20:06:57 -0700 Subject: [PATCH] chore: Bump CS to 9f22a2a2 (#1517) - Revert of AtkResNode DrawFlags --- Dalamud/Game/Gui/Dtr/DtrBar.cs | 2 +- Dalamud/Interface/Internal/UiDebug.cs | 2 +- lib/FFXIVClientStructs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dalamud/Game/Gui/Dtr/DtrBar.cs b/Dalamud/Game/Gui/Dtr/DtrBar.cs index 2e5ecb9c5..993bb951f 100644 --- a/Dalamud/Game/Gui/Dtr/DtrBar.cs +++ b/Dalamud/Game/Gui/Dtr/DtrBar.cs @@ -413,7 +413,7 @@ internal sealed unsafe class DtrBar : IDisposable, IServiceType, IDtrBar newTextNode->AtkResNode.NodeID = nodeId; newTextNode->AtkResNode.Type = NodeType.Text; newTextNode->AtkResNode.NodeFlags = NodeFlags.AnchorLeft | NodeFlags.AnchorTop | NodeFlags.Enabled | NodeFlags.RespondToMouse | NodeFlags.HasCollision | NodeFlags.EmitsEvents; - newTextNode->AtkResNode.ViewFlags = (NodeViewFlags)12; + newTextNode->AtkResNode.DrawFlags = 12; newTextNode->AtkResNode.SetWidth(22); newTextNode->AtkResNode.SetHeight(22); newTextNode->AtkResNode.SetPositionFloat(-200, 2); diff --git a/Dalamud/Interface/Internal/UiDebug.cs b/Dalamud/Interface/Internal/UiDebug.cs index 99af6102c..14f062e01 100644 --- a/Dalamud/Interface/Internal/UiDebug.cs +++ b/Dalamud/Interface/Internal/UiDebug.cs @@ -215,7 +215,7 @@ internal unsafe class UiDebug while (b > byte.MaxValue) b -= byte.MaxValue; while (b < byte.MinValue) b += byte.MaxValue; textNode->AlignmentFontType = (byte)b; - textNode->AtkResNode.ViewFlags |= NodeViewFlags.IsDirty; + textNode->AtkResNode.DrawFlags |= 0x1; } ImGui.Text($"Color: #{textNode->TextColor.R:X2}{textNode->TextColor.G:X2}{textNode->TextColor.B:X2}{textNode->TextColor.A:X2}"); diff --git a/lib/FFXIVClientStructs b/lib/FFXIVClientStructs index de55cd12a..9f22a2a2c 160000 --- a/lib/FFXIVClientStructs +++ b/lib/FFXIVClientStructs @@ -1 +1 @@ -Subproject commit de55cd12a61f07bfa3f2d1e54782c0dd57b52426 +Subproject commit 9f22a2a2cddca870aecab27df41f636cba14af8b