Anki/ts/image-occlusion/shapes
Damien Elmes 6643b1bc58 fix select all and change ordinal in edit mode in io (#3109)
* fix select all and change ordinal in edit mode in io

* make ordinal undefined for all shapes in group/ungroup

* fix group shapes and some ui fixes

* Don't add node_modules/* to dprint deps

* use minimum ordinal when shape merged, use max ordinal++ when ungrouped, in add mode no ordinal preset so NaN

* use state for ungroup shape

* maintain existing ordinal in editing mode

* fix order of ordinal in ungroup shape

* refactor: remove for loop, use forEach

(cherry picked from commit 477f932f35)
2024-04-11 15:14:25 +07:00
..
base.ts Maintain original IO cloze order in editing mode (#2987) 2024-02-07 13:42:47 +10:00
ellipse.ts Add APIs for IO card rendering (#2739) 2023-10-20 09:36:46 +10:00
floats.ts image occlusion button in note editor (#2485) 2023-07-27 22:45:49 +10:00
from-cloze.ts Fix IO text masks being grouped (#3128) 2024-04-11 15:03:55 +07:00
index.ts Add APIs for IO mask editing (#2758) 2023-10-22 10:40:40 +10:00
polygon.ts Add APIs for IO card rendering (#2739) 2023-10-20 09:36:46 +10:00
position.ts Various changes to I/O handling (#2513) 2023-05-31 13:45:12 +10:00
rectangle.ts Add APIs for IO card rendering (#2739) 2023-10-20 09:36:46 +10:00
text.ts Fix scaling of text objects (#2767) 2023-10-25 08:47:54 +10:00
to-cloze.ts fix select all and change ordinal in edit mode in io (#3109) 2024-04-11 15:14:25 +07:00