mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-19 22:37:43 +01:00
chore: Bump ClientStructs and make it build again
This commit is contained in:
parent
9e3c03d0e8
commit
2176b32219
16 changed files with 92 additions and 80 deletions
|
|
@ -187,7 +187,7 @@ internal class SeStringCreatorWidget : IDataWindowWidget
|
|||
// resize panels relative to the window size
|
||||
if (contentWidth != this.lastContentWidth)
|
||||
{
|
||||
var originalWidth = this.lastContentWidth != 0 ? this.lastContentWidth : contentWidth;
|
||||
var originalWidth = this.lastContentWidth != 0 ? this.lastContentWidth : contentWidth;
|
||||
this.inputsWidth = this.inputsWidth / originalWidth * contentWidth;
|
||||
this.lastContentWidth = contentWidth;
|
||||
}
|
||||
|
|
@ -299,8 +299,8 @@ internal class SeStringCreatorWidget : IDataWindowWidget
|
|||
break;
|
||||
|
||||
case TextParameterType.String:
|
||||
if (item.StringValue != null)
|
||||
WidgetUtil.DrawCopyableText(MemoryHelper.ReadStringNullTerminated((nint)item.StringValue));
|
||||
if (item.StringValue.Value != null)
|
||||
WidgetUtil.DrawCopyableText(item.StringValue.ToString());
|
||||
else
|
||||
ImGui.TextUnformatted("null");
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -442,7 +442,7 @@ internal class TitleScreenMenuWindow : Window, IDisposable
|
|||
textNode->TextFlags |= (byte)TextFlags.MultiLine;
|
||||
textNode->AlignmentType = AlignmentType.TopLeft;
|
||||
|
||||
var containsDalamudVersionString = textNode->OriginalTextPointer == textNode->NodeText.StringPtr;
|
||||
var containsDalamudVersionString = textNode->OriginalTextPointer.Value == textNode->NodeText.StringPtr.Value;
|
||||
if (!this.configuration.ShowTsm || !this.showTsm.Value)
|
||||
{
|
||||
if (containsDalamudVersionString)
|
||||
|
|
@ -460,7 +460,7 @@ internal class TitleScreenMenuWindow : Window, IDisposable
|
|||
this.lastLoadedPluginCount = count;
|
||||
|
||||
var lssb = LSeStringBuilder.SharedPool.Get();
|
||||
lssb.Append(new ReadOnlySeStringSpan(addon->AtkValues[1].String)).Append("\n\n");
|
||||
lssb.Append(new ReadOnlySeStringSpan(addon->AtkValues[1].String.Value)).Append("\n\n");
|
||||
lssb.PushEdgeColorType(701).PushColorType(539)
|
||||
.Append(SeIconChar.BoxedLetterD.ToIconChar())
|
||||
.PopColorType().PopEdgeColorType();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue