mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-02 08:48:32 +09:00
chore: fix bug
This commit is contained in:
parent
8d3fe0c5c2
commit
9109ae02a7
@ -79,7 +79,7 @@ export function physics(container: HTMLElement) {
|
|||||||
objEl.offsetWidth,
|
objEl.offsetWidth,
|
||||||
objEl.offsetHeight,
|
objEl.offsetHeight,
|
||||||
{
|
{
|
||||||
chamfer: { radius: parseInt(style.borderRadius, 10) },
|
chamfer: { radius: parseInt(style.borderRadius || '0', 10) },
|
||||||
restitution: 0.5
|
restitution: 0.5
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user