Debug moon visibility
This commit is contained in:
1 parent
93d26453c6
commit
89ea78e04d
1 file changed
+6
@@ -577,6 +577,12 @@
|
|||||||
getMoonPhaseText(moonIllum.phase) + ' ' + Math.round(moonIllum.fraction * 100) + '%';
|
getMoonPhaseText(moonIllum.phase) + ' ' + Math.round(moonIllum.fraction * 100) + '%';
|
||||||
renderMoonPhaseIcon(moonIllum.phase);
|
renderMoonPhaseIcon(moonIllum.phase);
|
||||||
renderRpgMoon(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();
|
var startTime = Date.now();
|
||||||
|
|||||||
Reference in new issue
Block a user