Anki/ts/routes/image-occlusion/shapes
Mani 477f932f35
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
2024-04-11 08:08:07 +01:00
..
base.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
ellipse.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
floats.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
from-cloze.ts Fix IO text masks being grouped (#3128) 2024-04-10 08:36:00 +01:00
index.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
polygon.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
position.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
rectangle.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
text.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
to-cloze.ts fix select all and change ordinal in edit mode in io (#3109) 2024-04-11 08:08:07 +01:00