fix: Fixes AddLabelPlaceholder on StaticGump (#2121)
This commit is contained in:
parent
41e909cd22
commit
3cf1bd0f7d
3 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ public sealed class PagePromptGump : StaticGump<PagePromptGump>
|
|||
builder.AddTextEntry(120, 168, 400, 200, 1153, 0, "");
|
||||
|
||||
builder.AddButton(175, 355, 2074, 2075, 1); // Okay
|
||||
builder. AddButton(405, 355, 2073, 2072, 0); // Cancel
|
||||
builder.AddButton(405, 355, 2073, 2072, 0); // Cancel
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState sender, in RelayInfo info)
|
||||
|
|
|
|||
|
|
@ -312,7 +312,7 @@ public ref struct StaticGumpBuilder
|
|||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void AddLabelPlaceholder(int x, int y, int hue, ref RawInterpolatedStringHandler handler)
|
||||
{
|
||||
AddHtmlPlaceholder(x, y, 0, 0, handler.Text);
|
||||
AddLabelPlaceholder(x, y, hue, handler.Text);
|
||||
handler.Clear();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2139,7 +2139,7 @@ namespace Server.Multis
|
|||
|
||||
if (_newPrice - _oldPrice < 0)
|
||||
{
|
||||
builder. AddHtmlLocalized(10, 260, 150, 20, 1062059, 992); // Your Refund:
|
||||
builder.AddHtmlLocalized(10, 260, 150, 20, 1062059, 992); // Your Refund:
|
||||
builder.AddLabel(170, 260, 70, (_oldPrice - _newPrice).ToString());
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue