- if (browser) {
- return {
- x: $canvas.x - window.screen.width/2,
- y: $canvas.y - window.screen.height/2
- };
- }
- return {x: 0, y: 0}
+ if (browser) {
+ return {
+ x: $canvas.x - window.screen.width / 2,
+ y: $canvas.y - window.screen.height / 2
+ };
+ }
+ return { x: 0, y: 0 };