1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-12 05:38:51 +09:00

chore: fix bug

This commit is contained in:
syuilo 2021-10-02 01:08:04 +09:00
parent 8d3fe0c5c2
commit 9109ae02a7

View File

@ -79,7 +79,7 @@ export function physics(container: HTMLElement) {
objEl.offsetWidth,
objEl.offsetHeight,
{
chamfer: { radius: parseInt(style.borderRadius, 10) },
chamfer: { radius: parseInt(style.borderRadius || '0', 10) },
restitution: 0.5
}
);