Open jason30704 opened 2 months ago
This happens because MouseEvent offsetX property can sometimes be -1. I'm not sure why this happens.
Is there any way to prevent this error now?
Not yet, I have very little time to investigate. But thank you, everything you're reporting will help make improvements.
Hello, I found that when using insert-segment mode, if you click close to the border, there is a chance that the following error may be triggered.
https://github.com/user-attachments/assets/09cf0dea-7102-4399-a0a0-5b1e8200b716