b3f6edc323
* Fix polygon not converting correctly to cloze * Fix first polygon disappearing when creating se... ...cond one during editing Previously, a fabric object was passed directly to a `Shape` such as `Rectangle` or `Polygon`, so mutating a non-primitive property of the shape would lead to mutating the original fabric object as well. * Commit addition of polygon immediately Unlike the rect or ellipse tools, when the polygon tool was active, clicking on the canvas did not fire the `object:removed` event and the `change` event was not dispatched. As a result, an addition of a polygon was not saved to the DB when switching to another note or closing the editor in edit mode without performing an action that dispatched the `change` event. |
||
---|---|---|
.. | ||
card-info | ||
change-notetype | ||
components | ||
congrats | ||
deck-options | ||
domlib | ||
editable | ||
editor | ||
fields | ||
graphs | ||
html-filter | ||
icons | ||
image-occlusion | ||
import-anki-package | ||
import-csv | ||
import-page | ||
lib | ||
mathjax | ||
reviewer | ||
sveltelib | ||
tag-editor | ||
tools | ||
.gitignore | ||
bundle_svelte.mjs | ||
bundle_ts.mjs | ||
esbuild_jest.mjs | ||
jest.config.js | ||
licenses.json | ||
page.html | ||
README.md | ||
transform_ts.mjs | ||
tsconfig.json | ||
yarn.sh |
Anki's TypeScript and Sass dependencies. Some TS/JS code is also stored separately in ../qt/aqt/data/web/.
To update all dependencies:
./update.sh
To add a new dev dependency, use something like:
./add.sh -D @rollup/plugin-alias