1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-24 08:04:08 +02:00

fix(deps): update [frontend] update dependencies (#16387)

* fix(deps): update [frontend] update dependencies

* fix build error

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-08-24 09:13:04 +09:00
committed by GitHub
parent bd0730e5e8
commit 9f25d96ec3
9 changed files with 1535 additions and 838 deletions

View File

@@ -186,7 +186,7 @@ export class DropAndFusionGame extends EventEmitter<{
}
private createBody(mono: Mono, x: number, y: number) {
const options: Matter.IBodyDefinition = {
const options = {
label: mono.id,
density: this.gameMode === 'space' ? 0.01 : ((mono.sizeX * mono.sizeY) / 10000),
restitution: this.gameMode === 'space' ? 0.5 : 0.2,
@@ -196,7 +196,7 @@ export class DropAndFusionGame extends EventEmitter<{
slop: this.gameMode === 'space' ? 0.01 : 0.7,
//mass: 0,
render: this.getMonoRenderOptions ? this.getMonoRenderOptions(mono) : undefined,
};
} satisfies Matter.IChamferableBodyDefinition;
if (mono.shape === 'circle') {
return Matter.Bodies.circle(x, y, mono.sizeX / 2, options);
} else if (mono.shape === 'rectangle') {