mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 18:22:25 +00:00
Review fixes: station panel and model housekeeping, label-box click, telemetry null stamp
- Installations: the label-box click fallback reaches the controls' methods (it read an undefined member and never ran). - Station model: the docked-companion scan runs once a second again; the hand-over pass runs once, when the model starts drawing. - Station panel: an unchanged view is not republished every frame; one render pump across slider drags, stopped on destroy; destroying the panel hands the joints back to Automatic, and the joint drivers' reset forgets manual choices and the telemetry lock. - Telemetry relay: a null TimeStamp is no time, not the first second of the year. - Drop issCommandShouldShow and issCommandNoteText, which nothing called.
This commit is contained in:
1 parent
ae9cfa4ffb
commit
aeaa192b5f
8 files changed
+63
-77
No files matched your search
@@ -228,7 +228,13 @@ export function createIssTelemetryRelay({ createSocket, now = Date.now }) {
|
||||
}
|
||||
const value = raw === null || raw === '' ? Number.NaN : Number(raw);
|
||||
if (!Number.isFinite(value)) return;
|
||||
values.set(name, { value, at: issTelemetryTimeMs(Number(stamp), at) });
|
||||
values.set(name, {
|
||||
value,
|
||||
at:
|
||||
stamp === null || stamp === ''
|
||||
? null
|
||||
: issTelemetryTimeMs(Number(stamp), at),
|
||||
});
|
||||
}
|
||||
|
||||
function connect() {
|
||||
|
||||
Reference in new issue
Block a user