From f7279bef7cf3868a9ea73946811c6414f83e04a0 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Wed, 31 Mar 2021 23:59:31 +0200 Subject: [PATCH] Fix changement jour --- module/rdd-calendrier.js | 4 ++-- styles/simple.css | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/module/rdd-calendrier.js b/module/rdd-calendrier.js index 929c6f90..0827d520 100644 --- a/module/rdd-calendrier.js +++ b/module/rdd-calendrier.js @@ -199,7 +199,7 @@ export class RdDCalendrier extends Application { /* -------------------------------------------- */ syncPlayerTime(calendrier) { this.calendrier = duplicate(calendrier); // Local copy update - this.updateDisplay(); // Then update + this.updateDisplay(); } /* -------------------------------------------- */ @@ -336,7 +336,7 @@ export class RdDCalendrier extends Application { if (game.user.isGM) { dateHTML = dateHTML + " - NA: " + this.getCurrentNombreAstral(); } - for (let handle of document.getElementsByClassName("calendar-move-handle")) { + for (let handle of document.getElementsByClassName("calendar-date-rdd")) { handle.innerHTML = dateHTML; } for (let heure of document.getElementsByClassName("calendar-heure-texte")) { diff --git a/styles/simple.css b/styles/simple.css index 8f14b3aa..7b875ce2 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -1093,12 +1093,7 @@ ul, li { .calendar-date-rdd { font-family: "GoudyAcc"; color: #CCC; - font-weight: bold; - font-size: 1.10rem; opacity: 90; -} -#calendar-move-handle { - font-family: "GoudyAcc"; font-size: 13px; line-height: 1; text-align: center;