chore: Fix most 6.51 warnings (#1514)

This commit is contained in:
KazWolfe 2023-10-31 13:21:55 -07:00 committed by GitHub
parent 9ccc389b0b
commit e538763f20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 26 additions and 24 deletions

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.DrawFlags |= 0x1;
textNode->AtkResNode.ViewFlags |= NodeViewFlags.IsDirty;
}
ImGui.Text($"Color: #{textNode->TextColor.R:X2}{textNode->TextColor.G:X2}{textNode->TextColor.B:X2}{textNode->TextColor.A:X2}");