anki/ts/image-occlusion/shapes
Hikaru Y bea4307d78
Another approach to preventing selected shapes from shifting (#2735)
* Revert "Fix selected shapes shifting to canvas origin"

This reverts commit d81b96fed0adb7db2fb9847c52d7cb73f83b4b32.

This introduced a regression where the selection of objects was cleared
when it should not have been. For example, if multiple objects were
selected and the mouse was released while moving them around, the
selection would be cleared.

* Another approach to preventing selected shapes from shifting

Prevent fabric objects from shifting to the wrong position when the
active selection contains multiple objects by calculating their
coordinates relative to the canvas, as in the case of the fabric.Group.
2023-10-15 10:11:23 +10:00
..
base.ts Various changes to I/O handling (#2513) 2023-05-31 13:45:12 +10:00
ellipse.ts Various changes to I/O handling (#2513) 2023-05-31 13:45:12 +10:00
floats.ts image occlusion button in note editor (#2485) 2023-07-27 22:45:49 +10:00
from-cloze.ts Add text tool to image occlusion (#2705) 2023-10-12 13:40:11 +10:00
polygon.ts Various changes to I/O handling (#2513) 2023-05-31 13:45:12 +10:00
position.ts Various changes to I/O handling (#2513) 2023-05-31 13:45:12 +10:00
rectangle.ts Various changes to I/O handling (#2513) 2023-05-31 13:45:12 +10:00
text.ts Change IO text background color to white (#2726) 2023-10-13 08:49:31 +10:00
to-cloze.ts Another approach to preventing selected shapes from shifting (#2735) 2023-10-15 10:11:23 +10:00