diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-10 14:56:07 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-10 14:56:07 +0900 |
| commit | b9c64053e885a7358a82bc144c16d7c61ca8d254 (patch) | |
| tree | cf78585f81b329b2329fa9b49685417aed15b7a0 /packages/client/src/scripts/physics.ts | |
| parent | chore: tweak logo (diff) | |
| parent | chore: fix some lints automatically (#8788) (diff) | |
| download | misskey-b9c64053e885a7358a82bc144c16d7c61ca8d254.tar.gz misskey-b9c64053e885a7358a82bc144c16d7c61ca8d254.tar.bz2 misskey-b9c64053e885a7358a82bc144c16d7c61ca8d254.zip | |
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
Diffstat (limited to 'packages/client/src/scripts/physics.ts')
| -rw-r--r-- | packages/client/src/scripts/physics.ts | 6 |
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); |