Graphite/editor
Alexi 91219cbe64 Fix layer deletion bugs when tools are in use (#684)
* Added test case of layer delete bug

* Fixed crash in `PenTool`

Updated the document `MessageHandler` to cancel all active tools if the
layer is deleted.  This prevents the tools from crashing due to the
layer being pulled from under them.

* Moved Abort into pre-graphene DeleteLayer message

* Renamed test case for clarity

* Moved tool crash tests to the `tools` module

* Added `test-case` to the dev dependencies

* Added crash test case for all tools

* Ran cargo fmt

Co-authored-by: otdavies <oliver@psyfer.io>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2022-06-24 09:35:07 -05:00
..
src Fix layer deletion bugs when tools are in use (#684) 2022-06-24 09:35:07 -05:00
Cargo.toml Fix layer deletion bugs when tools are in use (#684) 2022-06-24 09:35:07 -05:00
build.rs Refactor source of Git commit build info (closes #661) 2022-05-24 14:33:58 -07:00