Think I fixed the partial rendering bug for gm->player

This commit is contained in:
WBHarry 2026-03-22 02:11:15 +01:00
parent df7d8bcd23
commit f782489a39
4 changed files with 5 additions and 6 deletions

View file

@ -242,7 +242,7 @@ export default class TagTeamDialog extends HandlebarsApplicationMixin(Applicatio
this.render({ parts: updatingParts }); this.render({ parts: updatingParts });
game.socket.emit(`system.${CONFIG.DH.id}`, { game.socket.emit(`system.${CONFIG.DH.id}`, {
action: socketEvent.Refresh, action: socketEvent.Refresh,
data: { refreshType: RefreshType.TagTeamRoll, action: 'refresh' } data: { refreshType: RefreshType.TagTeamRoll, action: 'refresh', parts: updatingParts }
}); });
}; };

View file

@ -264,9 +264,9 @@
grid-column: span 2; grid-column: span 2;
} }
} }
}
.hint { .hint {
text-align: center; text-align: center;
}
} }
} }

View file

@ -1,4 +1,4 @@
<section class="roll-selection {{#if allHaveRolled}}rendered{{/if}} tab {{#if tabs.tagTeamRoll.active}} active{{/if}}" data-group="{{tabs.tagTeamRoll.group}}"> <section class="roll-selection {{#if (and allHaveRolled tabs.tagTeamRoll.active)}}rendered{{/if}} tab {{#if tabs.tagTeamRoll.active}} active{{/if}}" data-group="{{tabs.tagTeamRoll.group}}">
{{#if allHaveRolled}} {{#if allHaveRolled}}
<div class="roll-selection-container"> <div class="roll-selection-container">
{{#each members as |member key|}} {{#each members as |member key|}}

View file

@ -1,7 +1,6 @@
<section class="tag-team-roll tab {{#if tabs.tagTeamRoll.active}} active{{/if}}" data-group="{{tabs.tagTeamRoll.group}}" data-tab="{{tabs.tagTeamRoll.id}}"> <section class="tag-team-roll tab {{#if tabs.tagTeamRoll.active}} active{{/if}}" data-group="{{tabs.tagTeamRoll.group}}" data-tab="{{tabs.tagTeamRoll.id}}">
<div class="tag-team-roll-container {{#unless isEditable}}inactive{{/unless}}"> <div class="tag-team-roll-container {{#unless isEditable}}inactive{{/unless}}">
<div class="results-container"> <div class="results-container">
<div>{{test}}</div>
<span class="result-container-label">{{localize "DAGGERHEART.GENERAL.result.plural"}}</span> <span class="result-container-label">{{localize "DAGGERHEART.GENERAL.result.plural"}}</span>
<div class="results-inner-container"> <div class="results-inner-container">
{{#if hintText}} {{#if hintText}}