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

View File

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