Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Slider max now reflects zero-based indexing #334

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

ShrimpCryptid
Copy link
Contributor

Problem

Closes #303, "last timepoint is (N-1)/N".

Subtracted 1 from the max to reflect zero-based indexing used for time and z-index.

Estimated review size: tiny, <5 minutes

Solution

  • Timepoint denominator now matches maximum slider value.
  • Sorted imports.
  • Copied a change from React 18 #324 which fixes a rendering bug in the slider.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Screenshots (optional):

image

@ShrimpCryptid ShrimpCryptid added the bug Something isn't working label Nov 1, 2024
@ShrimpCryptid ShrimpCryptid self-assigned this Nov 1, 2024
@ShrimpCryptid ShrimpCryptid marked this pull request as ready for review November 1, 2024 16:30
@ShrimpCryptid ShrimpCryptid requested a review from a team as a code owner November 1, 2024 16:30
@ShrimpCryptid ShrimpCryptid requested review from meganrm and ascibisz and removed request for a team November 1, 2024 16:30
Copy link

github-actions bot commented Nov 1, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-11-04 19:38 UTC

@ShrimpCryptid ShrimpCryptid merged commit 4ca0d8f into main Nov 4, 2024
4 checks passed
@ShrimpCryptid ShrimpCryptid deleted the fix/timepoint-denominator branch November 4, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Last timepoint is (N-1)/N
3 participants