Anki/ts/routes/image-occlusion/tools
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
..
add-from-cloze.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
api.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
from-shapes.ts Fix IO mask position slightly off in edit mode (#3121) 2024-04-08 16:40:22 +01:00
index.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
lib.ts fix select all and change ordinal in edit mode in io (#3109) 2024-04-11 08:08:07 +01:00
more-tools.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
shortcuts.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
tool-aligns.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
tool-buttons.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
tool-cursor.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
tool-ellipse.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
tool-polygon.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
tool-rect.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
tool-text.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
tool-undo-redo.ts fix select all and change ordinal in edit mode in io (#3109) 2024-04-11 08:08:07 +01:00
tool-zoom.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00