forked from public/foundryvtt-reve-de-dragon
Gestion des présents des cités
+ fix bug sur conquête cité (pour supprimer la casetmr) + svg couleur plus lisibles
This commit is contained in:
@ -76,7 +76,9 @@ export class PixiTMR {
|
||||
sprite.width = options.taille ?? tmrConstants.half;
|
||||
sprite.height = options.taille ?? tmrConstants.half;
|
||||
sprite.anchor.set(0.5);
|
||||
sprite.tint = options.color ?? 0x000000;
|
||||
if (options.color) {
|
||||
sprite.tint = options.color;
|
||||
}
|
||||
sprite.alpha = options.alpha ?? 0.75;
|
||||
sprite.decallage = options.decallage ?? tmrConstants.center;
|
||||
this.pixiApp.stage.addChild(sprite);
|
||||
|
Reference in New Issue
Block a user