Describe the bug
Hovering/clicking points in the envelope does not always work properly. Most times clicking and dragging a point works, but especially in cases where there are multiple close together with overlapping graphics (like a sustain level of 0 and a short release) the UI does not always select the most appropriate point, or any point at all when trying to edit the envelope.
NOTE: this is sporadic and infrequent when attempting to edit envelopes.
Also NOTE: it appears to work once a point gets the hover style, but hovering over the envelope point with the mouse doesn't always get the hover style, it seems like the left side of the point is where the problem is more likely.
What did you try to do
I have not found an exact way to reliably replicate this. Probably the closest is: make the smallest possible envelope (shortest attack, decay, sustain 0, shortest release), attempt to edit the envelope.
Expected behavior
The closest point moves when I click and drag within a particular distance.
Software (please complete the following information):
OctaSine version: v0.7.0 (maybe more pronounced on the distro in #85)
DAW: Bitwig 4.3.4
OS: Windows 10
P.S.: I implemented this in my own plugin (STFU: https://zeeks.app/) using a distance formula and found this to be very reliable. I'm happy to share the code/algorithm/approach if that would help at all (it's C++ and just a very simple distance formula).
Describe the bug Hovering/clicking points in the envelope does not always work properly. Most times clicking and dragging a point works, but especially in cases where there are multiple close together with overlapping graphics (like a sustain level of 0 and a short release) the UI does not always select the most appropriate point, or any point at all when trying to edit the envelope.
NOTE: this is sporadic and infrequent when attempting to edit envelopes.
Also NOTE: it appears to work once a point gets the hover style, but hovering over the envelope point with the mouse doesn't always get the hover style, it seems like the left side of the point is where the problem is more likely.
What did you try to do I have not found an exact way to reliably replicate this. Probably the closest is: make the smallest possible envelope (shortest attack, decay, sustain 0, shortest release), attempt to edit the envelope.
Expected behavior The closest point moves when I click and drag within a particular distance.
Software (please complete the following information):
P.S.: I implemented this in my own plugin (STFU: https://zeeks.app/) using a distance formula and found this to be very reliable. I'm happy to share the code/algorithm/approach if that would help at all (it's C++ and just a very simple distance formula).