mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-18 01:02:23 +00:00
Show the world time on the HUD clock
The HUD's UTC and collection readouts follow the world clock with the sky, so away from live they read the time the globe is drawn at.
This commit is contained in:
1 parent
3534398771
commit
9faec3028e
2 files changed
+5
-5
No files matched your search
@@ -67,7 +67,7 @@ test('layers named at creation follow from the start', () => {
|
||||
|
||||
test('the page clock moves the layers with a time of their own', async () => {
|
||||
const { worldClock } = await import('./worldClock.js');
|
||||
for (const id of ['sky', 'satellites', 'rocket-launches'])
|
||||
for (const id of ['sky', 'hud', 'satellites', 'rocket-launches'])
|
||||
assert.equal(worldClock.follows(id), true, id);
|
||||
for (const id of ['flights', 'military', 'vessels', 'transit'])
|
||||
assert.equal(worldClock.follows(id), false, id);
|
||||
|
||||
Reference in new issue
Block a user