Fix: tooltip TMR par dessus les autres sprites

This commit is contained in:
Vincent Vandemeulebrouck 2023-11-11 00:52:57 +01:00
parent f98ece4ffd
commit 2e74ccd1fe
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ export class PixiTMR {
this.pixiApp.eventMode = 'static';
this.pixiApp.stage.sortableChildren = true;
this.tooltip = new PIXI.Text('', tooltipStyle);
this.tooltip.zIndex = 1000
this.pixiApp.stage.addChild(this.tooltip);
}