Fix: tooltip TMR par dessus les autres sprites
This commit is contained in:
parent
f98ece4ffd
commit
2e74ccd1fe
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user