Commit cb1d5229 authored by wildfirecode's avatar wildfirecode

1

parent 4b41192b
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -221,7 +221,7 @@ export default class GameView extends engine.Container { ...@@ -221,7 +221,7 @@ export default class GameView extends engine.Container {
// this.centerY = e.clientY + h / 2; // this.centerY = e.clientY + h / 2;
this.centerX = Math.floor(e.clientX / w) * w + w / 2; this.centerX = Math.floor(e.clientX / w) * w + w / 2;
this.centerY = Math.floor(e.clientY / h) * h + w / 2 this.centerY = Math.floor(e.clientY / h) * h + h / 2
this.stage.addEventListener( this.stage.addEventListener(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment