Anki is a smart spaced repetition flashcard program
Find a file
Hikaru Y b3f6edc323
Fix polygon tool not working (#2712)
* 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.
2023-10-10 13:51:35 +10:00
.buildkite Update n2 for Windows console fix; recommend it on Windows as well 2023-07-02 19:03:37 +10:00
.cargo Fix i18n build script not responding to env var changes 2023-07-04 17:17:41 +10:00
.config Drop workspace-hack in favor of workspace deps 2023-06-23 17:41:31 +10:00
.github/ISSUE_TEMPLATE Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.vscode.dist Invalid sorting (#2709) 2023-10-07 06:36:15 +00:00
build Improve Python Protobuf speed 2023-10-04 13:36:47 +10:00
cargo Update rust-csv (#2703) 2023-10-04 13:21:47 +10:00
docs [Development] Specify extra directory as a designated ignored folder (#2593) 2023-07-27 22:27:07 +10:00
ftl Update translations 2023-10-03 14:41:11 +10:00
proto Invalid sorting (#2709) 2023-10-07 06:36:15 +00:00
pylib Invalid sorting (#2709) 2023-10-07 06:36:15 +00:00
python Update urllib3 2023-10-03 12:25:06 +10:00
qt Invalid sorting (#2709) 2023-10-07 06:36:15 +00:00
rslib Rust 1.73 2023-10-09 19:22:43 +10:00
sass Add scss formatter 2023-07-03 09:44:38 +10:00
tools Update n2 for bugfix 2023-10-09 13:42:39 +11:00
ts Fix polygon tool not working (#2712) 2023-10-10 13:51:35 +10:00
.deny.toml Integrate the FSRS optimizer (#2633) 2023-09-05 18:45:05 +10:00
.dprint.json [Development] Specify extra directory as a designated ignored folder (#2593) 2023-07-27 22:27:07 +10:00
.eslintrc.js Use field tags instead of hard-coding occlusion fields 2023-09-18 10:10:11 +10:00
.gitattributes try again to improve GitHub's language stats 2021-01-20 13:20:45 +10:00
.gitignore Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
.gitmodules Exclude PyOxidizer from recursive checkout 2023-07-02 18:22:44 +10:00
.isort.cfg Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.mypy.ini Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.pylintrc Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
.rustfmt-empty.toml Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.rustfmt.toml Move ascii_percent_encoding into a separate repo 2023-04-12 08:45:23 +10:00
.version Bump version to 23.10 2023-09-17 11:51:47 +10:00
Cargo.lock Update FSRS for performance improvement 2023-10-05 16:27:10 +10:00
Cargo.toml Update FSRS for performance improvement 2023-10-05 16:27:10 +10:00
check Add a shortcut to auto-format before running checks 2023-07-02 09:59:05 +10:00
CONTRIBUTORS Update rust-csv (#2703) 2023-10-04 13:21:47 +10:00
LICENSE move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
ninja Switch runner to release build 2023-07-02 10:31:07 +10:00
package.json Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
README.md Add link to website in README 2023-05-31 13:49:19 +10:00
run Use 127.0.0.1 instead of localhost 2023-06-27 16:45:31 +10:00
run.bat Fix some Windows path issues 2023-07-02 18:22:44 +10:00
rust-toolchain.toml Rust 1.73 2023-10-09 19:22:43 +10:00
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
yarn.lock Bump postcss from 8.4.24 to 8.4.31 (#2704) 2023-10-04 13:36:35 +10:00

Anki

Build status

This repo contains the source code for the computer version of Anki.

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/

For more information on building, please see Development.