selecto icon indicating copy to clipboard operation
selecto copied to clipboard

Selecto doesn't seems to check item transformation bound

Open chenxeed opened this issue 3 years ago • 2 comments

Environments

  • Framework name: daybrush.com/moveable
  • Framework version: -
  • Component name: -
  • Component version: -
  • Testable Address(optional): daybrush.com/moveable

Description

Hi! Thanks for the awesome library!

I would like to ask about the selecto detection when the item is transformed, such as "rotated". This is the example I see from moveable demo:

As you can see, the element bound is rotated, but the selecto still detect it as selected.

Should selecto also able to detect the item bound when it's rotated?

Thanks!

chenxeed avatar Aug 14 '20 06:08 chenxeed

@chenxeed

I hope so, but unfortunately, since the detection area is at the top left and bottom right, the rotated object has a wide detection area.

I will try to improve.

daybrush avatar Aug 14 '20 14:08 daybrush

@chenxeed

Finally, the homepage was updated.

Created using OverlapArea.

https://github.com/daybrush/overlap-area

daybrush avatar Nov 08 '20 20:11 daybrush