Skip to content

fix(nina): exposure ring step back on capture layouts - #324

Merged
chvvkumar merged 1 commit into
devfrom
snd
Sep 9, 2026
Merged

chvvkumar merged 1 commit into
devfrom
snd

Conversation

@chvvkumar

@chvvkumar chvvkumar commented Sep 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

This PR fixes an issue where the exposure ring on capture layouts would sometimes step back due to inaccurate time estimation, causing a visual glitch. It updates the timing calculations to maintain millisecond precision, preventing the ring from unexpectedly resetting. Additionally, it refines the layout of the Night rail band for better visual alignment.

Changes

  • Exposure time calculation now maintains millisecond precision instead of truncating to whole seconds.
  • This prevents the exposure ring from unexpectedly stepping back on capture layouts, which occurred due to a timing estimate that lagged real time.
  • The Summary page's exposure time display also uses the updated millisecond-accurate calculation.
  • RMS and HFR values are now vertically centered within their display band on the Night rail layout.
  • The hero seconds and star count are centered as a single block in their band, with a 22-pixel gap between them.

Analyzed 1 commit(s) | Updated: 2026-09-09T03:29:36.959Z | Generated by GitHub Actions

…ail band

The 200 ms exposure tick estimated NINA's clock from the whole-second Date
header plus a monotonic delta that was also truncated to whole seconds, so
the estimate lagged real time by up to two seconds and the backward-only
wall correction fired on ordinary jitter, re-anchoring the exposure a
second back. The Dashboard hid it by animating its arc forward from the
current value; every layout that sets the ring value directly (Two rings,
Night rail, Halo, Orbit, the round Dashboard's rings, Image-forward's
blocks) showed the step. The tick and the Summary page's copy of the same
math now keep milliseconds, so the lag stays under the threshold and the
correction only fires when NINA genuinely re-times a sub.

Night rail (square): RMS and HFR centred vertically in the band between
the hairline and the rail; the hero seconds with the star count under them
centred in that band as one block, with a 22 px gap between them.
@github-actions github-actions Bot changed the title fix(nina): exposure ring stepped back on the capture layouts; Night r… fix(nina): exposure ring step back on capture layouts Sep 9, 2026
@chvvkumar
chvvkumar merged commit bbb7c9d into dev Sep 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant