mirror of
https://github.com/ankitects/anki.git
synced 2025-11-18 18:47:12 -05:00
* 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. |
||
|---|---|---|
| .. | ||
| notes-toolbar | ||
| shapes | ||
| tools | ||
| add-or-update-note.ts | ||
| canvas-scale.ts | ||
| icons.ts | ||
| image-occlusion-base.scss | ||
| ImageOcclusionPage.svelte | ||
| ImageOcclusionPicker.svelte | ||
| index.ts | ||
| lib.ts | ||
| mask-editor.ts | ||
| MaskEditor.svelte | ||
| Notes.svelte | ||
| review.scss | ||
| review.ts | ||
| StickyFooter.svelte | ||
| store.ts | ||
| Tags.svelte | ||
| Toast.svelte | ||
| Toolbar.svelte | ||
| tsconfig.json | ||
| types.ts | ||