selecto
selecto copied to clipboard
Straight line problem - horizontal and vertical line
Hi Younkue,
thank you for this amazing library. The only reason why I am not using Selecto is because of a problem with straight lines.
If the line is not straight then there is no problem but if it is straight then I can't move it.
This problem occurs in all popular browsers: Chrome, Edge, Opera, Safari and Firefox. I've tested Selecto with Moveable.
An example below:
A line:
Straight lines:

@andrea78
Oh, I found out that there is a problem with the straight line. It seems that the size was judged to be 0 and the selection was not made.
i will fix. Thank you.
@andrea78
selecto's new version is released. Check it again.
Hi Younkue, I appreciate your great work. After your fix #110 there is a difference. Now draggable works if I move at least two straight lines but if I want to drag or scale or rotate a single straight line it doesn't work anymore. This is also a problem on the Moveable side. I've just opened a new Issue for Moveable.