Skip to content

Commit 0144bad

Browse files
committed
Added roundPixels boolean to config
1 parent 8ae3493 commit 0144bad

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/boot/Config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ var ValueToColor = require('../display/color/ValueToColor');
7575
* @property {array} [banner.background] - [description]
7676
* @property {FPSConfig} [?fps] - [description]
7777
* @property {boolean} [pixelArt=false] - [description]
78+
* @property {boolean} [roundPixels=false] - [description]
7879
* @property {boolean} [transparent=false] - [description]
7980
* @property {boolean} [clearBeforeRender=true] - [description]
8081
* @property {string|number} [backgroundColor=0x000000] - [description]
@@ -180,6 +181,7 @@ var Config = new Class({
180181
this.fps = GetValue(config, 'fps', null);
181182

182183
this.pixelArt = GetValue(config, 'pixelArt', false);
184+
this.roundPixels = GetValue(config, 'roundPixels', false);
183185
this.transparent = GetValue(config, 'transparent', false);
184186
this.clearBeforeRender = GetValue(config, 'clearBeforeRender', true);
185187
this.backgroundColor = ValueToColor(GetValue(config, 'backgroundColor', 0));

0 commit comments

Comments
 (0)