Skip to content

Commit

Permalink
Fix chat bubble ordering (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusLongmuir authored Feb 10, 2025
1 parent 2334485 commit 944d8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/3d-web-client-core/src/character/Character.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class Character extends Group {
color: new Color(0.125, 0.125, 0.125),
});
this.add(tooltip);
this.chatTooltips.push(tooltip);
this.chatTooltips.unshift(tooltip);
tooltip.setText(message, () => {
this.chatTooltips = this.chatTooltips.filter((t) => t !== tooltip);
this.remove(tooltip);
Expand Down

0 comments on commit 944d8da

Please sign in to comment.