1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-24 09:13:07 +02:00

paperjs improvement

This commit is contained in:
Pomax
2016-01-11 08:33:07 -08:00
parent 3b8a08c100
commit 98bb8d5a86
4 changed files with 11 additions and 13 deletions

View File

@@ -78,7 +78,7 @@ var Graphic = React.createClass({
if (this.props.paperjs) {
var Paper = this.Paper = require("../lib/vendor/paperjs/paper-core");
this.project = new Paper.Project(cvs);
Paper.setup(cvs);
}
if (this.props.setup) {