chore: Bump CS to 9f22a2a2 (#1517)

- Revert of AtkResNode DrawFlags
This commit is contained in:
KazWolfe 2023-10-31 20:06:57 -07:00 committed by GitHub
parent 20d5e26403
commit 403e94f9d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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}");

@ -1 +1 @@
Subproject commit de55cd12a61f07bfa3f2d1e54782c0dd57b52426
Subproject commit 9f22a2a2cddca870aecab27df41f636cba14af8b