Skip to content

fix: render secondary ticks only between primary ticks - #4330

Merged
hamed-musallam merged 2 commits into
mainfrom
fix-seconday-ticks
Aug 27, 2026
Merged

fix: render secondary ticks only between primary ticks#4330
hamed-musallam merged 2 commits into
mainfrom
fix-seconday-ticks

Conversation

@hamed-musallam

Copy link
Copy Markdown
Member
  • Remove edge secondary tick rendering that could appear outside axis boundaries.
  • Compute secondary tick positions as midpoints between primary ticks.

- Remove edge secondary tick rendering that could appear outside axis boundaries.
- Compute secondary tick positions as midpoints between primary ticks.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploying nmrium with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0ca272c
Status: ✅  Deploy successful!
Preview URL: https://71112612.nmrium.pages.dev
Branch Preview URL: https://fix-seconday-ticks.nmrium.pages.dev

View logs

@tpoisseau tpoisseau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hamed-musallam
hamed-musallam merged commit 4cbf176 into main Aug 27, 2026
12 checks passed
@hamed-musallam
hamed-musallam deleted the fix-seconday-ticks branch August 27, 2026 07:01
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.

Secondary axis ticks render outside primary axis bounds in 2D view

2 participants