mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-27 09:50:52 -05:00
Merge pull request #224 from brollb/223-bounds-ignored-in-renderer
Updated `hasBounds` default value. Fixes #223
This commit is contained in:
commit
1944f6a34c
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ var Vector = require('../geometry/Vector');
|
||||||
pixelRatio: 1,
|
pixelRatio: 1,
|
||||||
background: '#fafafa',
|
background: '#fafafa',
|
||||||
wireframeBackground: '#222',
|
wireframeBackground: '#222',
|
||||||
hasBounds: false,
|
hasBounds: !!options.bounds,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
wireframes: true,
|
wireframes: true,
|
||||||
showSleeping: true,
|
showSleeping: true,
|
||||||
|
|
Loading…
Reference in a new issue