ServerPack: card actions add no separator of their own
Hookless servers render exactly as before: call _cardActions?.Invoke() after RenderVerdict and let the existing separator close the block. Test now pins the RenderBody separator count and restores the trailing CRLF. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
52b0b00860
commit
5c6af0bbe5
2 changed files with 9 additions and 4 deletions
|
|
@ -85,7 +85,7 @@ internal sealed class ServerPackUi
|
|||
{
|
||||
ServerPackInfo info = _model.Info;
|
||||
RenderVerdict(info);
|
||||
if (_cardActions != null) { ImGui.Separator(); _cardActions(); }
|
||||
_cardActions?.Invoke();
|
||||
ImGui.Separator();
|
||||
RenderFacts(info);
|
||||
if (info.Commands.Length > 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue