finished paperjs refactoring
This commit is contained in:
@@ -47,7 +47,7 @@ export default {
|
||||
engine: null,
|
||||
world: null,
|
||||
// render: null,
|
||||
mouse: null,
|
||||
// mouse: null,
|
||||
mapPopupData: null,
|
||||
// PAPERJS
|
||||
paper: null
|
||||
@@ -109,7 +109,7 @@ export default {
|
||||
|
||||
// add mouse control
|
||||
// https://github.com/liabru/matter-js/issues/491#issuecomment-331329404
|
||||
this.mouse = Matter.Mouse.create(this.canvasMap.canvas);
|
||||
// this.mouse = Matter.Mouse.create(this.canvasMap.canvas);
|
||||
|
||||
this.animate()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user