Skip to content

fix(baseline-correction): preserve saved anchors instead of defaults ones - #4323

Open
hamed-musallam wants to merge 1 commit into
mainfrom
fix-baseline-correction-anchors
Open

fix(baseline-correction): preserve saved anchors instead of defaults ones#4323
hamed-musallam wants to merge 1 commit into
mainfrom
fix-baseline-correction-anchors

Conversation

@hamed-musallam

@hamed-musallam hamed-musallam commented Aug 21, 2026

Copy link
Copy Markdown
Member

Anchors are stored as number[], not { x: number[] }, so the existing check always reads undefined and discards saved anchors. Also avoid overwriting anchors currently being edited on filter/spectrum change.

@hamed-musallam hamed-musallam linked an issue Aug 21, 2026 that may be closed by this pull request
@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying nmrium with  Cloudflare Pages  Cloudflare Pages

Latest commit: f19a05c
Status: ✅  Deploy successful!
Preview URL: https://37da0ce5.nmrium.pages.dev
Branch Preview URL: https://fix-baseline-correction-anch.nmrium.pages.dev

View logs

@hamed-musallam
hamed-musallam force-pushed the fix-baseline-correction-anchors branch from f9195aa to d88e112 Compare August 21, 2026 10:43
…ones

Anchors are stored as number[], not { x: number[] }, so the existing check always reads undefined and discards saved anchors.
Also avoid overwriting anchors currently being edited on filter/spectrum change.
@hamed-musallam
hamed-musallam force-pushed the fix-baseline-correction-anchors branch from d88e112 to f19a05c Compare August 21, 2026 10:43
@hamed-musallam hamed-musallam changed the title fix(baseline-correction): preserve saved anchors instead of recomputing defaults fix(baseline-correction): preserve saved anchors instead of defaults ones Aug 21, 2026
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.

Baseline correction anchors

1 participant