Closed ivan-aksamentov closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/hodcroftlab/covariants/BacbuDQf9Adq2kAFxGQXFNNzTshU
✅ Preview: https://covariants-git-fix-plot-cursor-hodcroftlab.vercel.app
Thank you @ivan-aksamentov ! The plan now is to merge this in, but continue to think about the problem more generally, including considering some ideas from #179 .
Resolves #188
After #186 the cursor line became invisible because area segments on the plot are opaque:
This PR renders the
<Tooltip/>
components (which includes the cursor line) above area segments.There is a new problem though. The "active circles" (the circles showing the value on the intersection of cursor line and area segment) are now partially obscured by area segments:
This is due to them being rendered intertwined along with area segments, so that the previous circle is obscured by the next segment:
(note
area
andactive-dot
element ordering)I am not sure we will be able to fix that easily.