Debug moon visibility

This commit is contained in:
Richard Zink committed 2026-10-07 08:19:17 +02:00
1 parent 93d26453c6
commit 89ea78e04d
1 file changed
+6
+6
View File
@@ -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();