From 89ea78e04d5658427a4e3d134a63f0b5dce5b619 Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Wed, 7 Oct 2026 08:19:17 +0200 Subject: [PATCH] Debug moon visibility --- index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.html b/index.html index cdd53a2..d9c3a6d 100644 --- a/index.html +++ b/index.html @@ -577,6 +577,12 @@ getMoonPhaseText(moonIllum.phase) + ' ' + Math.round(moonIllum.fraction * 100) + '%'; renderMoonPhaseIcon(moonIllum.phase); renderRpgMoon(moonIllum.phase); + + // DEBUG + document.title = 'moon: ' + (moonPos.isVisible ? 'visible' : 'hidden') + + ' rise=' + formatTimeHM(moonTimes.rise) + + ' set=' + formatTimeHM(moonTimes.set) + + ' now=' + formatTimeHM(now); } var startTime = Date.now();