Closed dephora closed 7 years ago
Hi @dephora! Thank you for the bug report! Thanks to the link you provided the bug was very easy to fix : ) (in the branch update-paperjs). I'll check if there are some other bugs and merge with the node-express branch (which moves away from mysql/php into mongo/express)
update to paperjs 2.3.1 breaks 'addPoint' function
I was able to track the problem in the addPoint
function to a bug in paperjs, reported as issue #1392 (https://github.com/paperjs/paper.js/issues/1392)
Commit 084955b adds a workaround this issue: the insert
function is kept in a temporary variable, and injected back to path
after importJSON
was invoked.
First, great library.
In the interest of keeping it in line with newer versions of Paper.js I'll document breaking changes if there is a desire to upgrade (or for those who want to use the more recent versions of Paper.js). This will be a running list as I haven't yet tested everything.
Currently testing on Paper 0.11.4 / OpenSeadragon 2.2.1
Undo breaks immediately.
Paper.js
https://github.com/paperjs/paper.js/blob/develop/CHANGELOG.md (V 0.10.0) Undocumented function
Project#addChild()
that added a layer to a project. It is replaced byProject#addLayer()
andProject#insertLayer()
.