mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
chore: fix bug
This commit is contained in:
parent
c6dd73ff10
commit
70fdb47df4
@ -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
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user