From 4925cee756957b9391d9210ea53b87247a5cacd7 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 15f69467..91cf416c 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(); } /* -------------------------------------------- */ @@ -338,7 +338,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;