0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-27 09:50:52 -05:00

remove render element warning

This commit is contained in:
liabru 2021-12-21 20:25:26 +00:00
parent 04d229ebec
commit 459425b2a3

View file

@ -124,8 +124,6 @@ var Mouse = require('../core/Mouse');
if (Common.isElement(render.element)) { if (Common.isElement(render.element)) {
render.element.appendChild(render.canvas); render.element.appendChild(render.canvas);
} else if (!render.canvas.parentNode) {
Common.log('Render.create: options.element was undefined, render.canvas was created but not appended', 'warn');
} }
return render; return render;