Ajout de zIndex pour afficher le demi-rêve devant
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { tmrColors, tmrConstants } from "../tmr-utility.js";
|
||||
import { tmrColors, tmrConstants, tmrTokenZIndex } from "../tmr-utility.js";
|
||||
import { Draconique } from "./draconique.js";
|
||||
|
||||
export class Rencontre extends Draconique {
|
||||
@ -17,6 +17,11 @@ export class Rencontre extends Draconique {
|
||||
img() { return 'systems/foundryvtt-reve-de-dragon/icons/heures/hd06.svg' }
|
||||
|
||||
_createSprite(pixiTMR) {
|
||||
return pixiTMR.sprite(this.code(), { color: tmrColors.rencontre, taille: tmrConstants.full, decallage: { x: 2, y: 2 } });
|
||||
return pixiTMR.sprite(this.code(), {
|
||||
zIndex: tmrTokenZIndex.rencontre,
|
||||
color: tmrColors.rencontre,
|
||||
taille: tmrConstants.full,
|
||||
decallage: { x: 2, y: 2 }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user