Skip to content
Snippets Groups Projects
Commit 9109ae02 authored by syuilo's avatar syuilo
Browse files

chore: fix bug

parent 8d3fe0c5
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ export function physics(container: HTMLElement) { ...@@ -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
} }
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment