Skip to content

Show last index of animator sliders #1893

@YuHsuan-Hwang

Description

@YuHsuan-Hwang

Describe the bug
After #1891, the incorrect position of the slider elements is fixed by not always showing the last index. However, it would be better if we can always show the last index on the slider to clearly show the range of the values.

To Reproduce
Open 13 images / open an image with 13 channels.

Expected behavior
Show index 13 instead of 12 or show both 13 and 12.

Screenshots or videos
image
image

Platform info (please complete the following information):

  • OS [e.g. macOS Monterey]: macOS Big Sur
  • Browser [e.g. chrome, safari, electron app]: chrome
  • Browser version [e.g. 22]: 102
  • Backend branch [e.g. dev, v3b2 release]: dev
  • Frontend branch [e.g. dev, v3b2 release]: dev

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions