We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e6a8d9 commit 0b131a4Copy full SHA for 0b131a4
demo/src/Demo.js
@@ -57,9 +57,11 @@ var demo = function(examples, isDev) {
57
58
buttonSource.parentNode.insertBefore(buttonCompare, buttonSource.nextSibling);
59
60
- // always show debug info
61
Matter.before('Render.create', function(renderOptions) {
+ // custom render options in development demo
62
renderOptions.options.showDebug = true;
63
+ renderOptions.options.pixelRatio = 'auto';
64
+ renderOptions.options.wireframeStrokeStyle = '#aaa';
65
});
66
67
// arrow key navigation of examples
0 commit comments