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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user