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 SortReserve extends Draconique {
|
||||
@ -17,6 +17,10 @@ export class SortReserve extends Draconique {
|
||||
img() { return 'systems/foundryvtt-reve-de-dragon/icons/tmr/scroll.svg' }
|
||||
|
||||
_createSprite(pixiTMR) {
|
||||
return pixiTMR.sprite(this.code(), { alpha: 0.5, decallage: tmrConstants.right });
|
||||
return pixiTMR.sprite(this.code(), {
|
||||
zIndex: tmrTokenZIndex.sort,
|
||||
alpha: 0.5,
|
||||
decallage: tmrConstants.right
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user