Initial commit for v11 support

This commit is contained in:
LeRatierBretonnien 2023-05-25 13:17:16 +02:00
parent 1e0788cde8
commit e2a9f55740

View File

@ -105,10 +105,11 @@ export class RdDCalendrier extends Application {
} }
return buttons return buttons
} }
async maximize() {
/*async maximize() {
await super.maximize() await super.maximize()
this.render(true) this.render(true)
} }*/
async close() { } async close() { }
@ -263,6 +264,7 @@ export class RdDCalendrier extends Application {
/* -------------------------------------------- */ /* -------------------------------------------- */
async rebuildNombresAstraux(showDice = HIDE_DICE) { async rebuildNombresAstraux(showDice = HIDE_DICE) {
if (Misc.isUniqueConnectedGM()) { if (Misc.isUniqueConnectedGM()) {
console.log("Astral rebuild")
let newList = []; let newList = [];
for (let i = 0; i < MAX_NOMBRE_ASTRAL; i++) { for (let i = 0; i < MAX_NOMBRE_ASTRAL; i++) {
let dayIndex = this.timestamp.indexDate + i; let dayIndex = this.timestamp.indexDate + i;