summaryrefslogtreecommitdiff
path: root/packages/client/src/scripts/physics.ts
diff options
context:
space:
mode:
authorJohann150 <johann.galle@protonmail.com>2022-06-10 07:36:55 +0200
committerGitHub <noreply@github.com>2022-06-10 14:36:55 +0900
commit5e29528ad4d75174b4a8ebd462f0ff830c5b1c43 (patch)
tree72a1d0a6532bf5b0c74f289f2dc772b0f8090cfa /packages/client/src/scripts/physics.ts
parentenhance(federation): use ActivityPub defined property in favour of proprietar... (diff)
downloadsharkey-5e29528ad4d75174b4a8ebd462f0ff830c5b1c43.tar.gz
sharkey-5e29528ad4d75174b4a8ebd462f0ff830c5b1c43.tar.bz2
sharkey-5e29528ad4d75174b4a8ebd462f0ff830c5b1c43.zip
chore: fix some lints automatically (#8788)
* chore: fix some lints automatically Fixed lints that were automatically fixable with `eslint --fix`. * fix type * workaround for empty interface lint
Diffstat (limited to 'packages/client/src/scripts/physics.ts')
-rw-r--r--packages/client/src/scripts/physics.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/client/src/scripts/physics.ts b/packages/client/src/scripts/physics.ts
index 36e476b6f9..9e657906c2 100644
--- a/packages/client/src/scripts/physics.ts
+++ b/packages/client/src/scripts/physics.ts
@@ -41,9 +41,9 @@ export function physics(container: HTMLElement) {
const groundThickness = 1024;
const ground = Matter.Bodies.rectangle(containerCenterX, containerHeight + (groundThickness / 2), containerWidth, groundThickness, {
- isStatic: true,
- restitution: 0.1,
- friction: 2
+ isStatic: true,
+ restitution: 0.1,
+ friction: 2
});
//const wallRight = Matter.Bodies.rectangle(window.innerWidth+50, window.innerHeight/2, 100, window.innerHeight, wallopts);