Open lovasoa opened 5 years ago
For long pencil strokes deleting the entire object is usually a bit too much.
Boils down to what is already mentioned in the eraser.js //TODO: add the ability to erase only some points in a line
.
Thoughts:
Potential issues:
Yes, these are good ideas. But all of them require a significant refactoring of the existing code. There is currently no spacial index of the shapes.
Currently, the eraser is just one pixel wide. It means that you have to be very precise when trying to erase a small shape, like a single point. We could make the eraser larger, so that you can just click less that X pixels away from a shape to erase it.