cosmicds / hubbleds

Hubble's law data story
MIT License
0 stars 8 forks source link

Update spectrum button interactions #445

Closed patudom closed 1 month ago

patudom commented 1 month ago

When user zooms in, clicking the "let me measure" button should not reset the zoom.

patudom commented 1 month ago

For reference, this is the spectrum viewer behavior from the voila version. (Looks like the rest wavelength H-alpha marker did go away when the wavelength zoom range changed, which is different than what I remembered, but the key thing is that when the zoom level changes, the ability to measure the observed wavelength needs to remain active). Let me know if you have questions.

https://github.com/cosmicds/hubbleds/assets/12750048/87563af7-f2af-44cb-a7d9-04c406c8b857

patudom commented 1 month ago

Fixed in #496