Fix changement jour

This commit is contained in:
Vincent Vandemeulebrouck 2021-03-31 23:59:31 +02:00
parent 47484e6a85
commit f7279bef7c
2 changed files with 2 additions and 7 deletions

View File

@ -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")) {

View File

@ -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;