diff --git a/demo/src/Demo.js b/demo/src/Demo.js index 39609c41..986a8013 100644 --- a/demo/src/Demo.js +++ b/demo/src/Demo.js @@ -57,9 +57,11 @@ var demo = function(examples, isDev) { buttonSource.parentNode.insertBefore(buttonCompare, buttonSource.nextSibling); - // always show debug info Matter.before('Render.create', function(renderOptions) { + // custom render options in development demo renderOptions.options.showDebug = true; + renderOptions.options.pixelRatio = 'auto'; + renderOptions.options.wireframeStrokeStyle = '#aaa'; }); // arrow key navigation of examples