Skip to content

Commit 592a6f7

Browse files
committed
Update app.js
1 parent 8ce4214 commit 592a6f7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

dev/mouse-tracking/app.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ cursor.y = 0;
1515
cursor.anchor = {x: 0.5, y: 0.5};
1616
scene.addChild(cursor);
1717

18-
console.log(document.getElementsByTagName("html")[0].getBoundingClientRect());
19-
2018
app.ticker.add((deltaTime) => {
2119
cursor.x = (PIXI.input.getMouseX() * app.view.width + 0.5) ^ 0;
2220
cursor.y = (PIXI.input.getMouseY() * app.view.height + 0.5) ^ 0;

0 commit comments

Comments
 (0)