Skip to content

Commit b0623b9

Browse files
committed
Added clearBeforeRender.
1 parent 41f0b51 commit b0623b9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

v3/src/boot/Config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,11 @@ var Config = function (config)
5454

5555
this.fps = GetObjectValue(config, 'fps', 60);
5656
this.forceSetTimeOut = GetObjectValue(config, 'forceSetTimeOut', false);
57-
this.transparent = GetObjectValue(config, 'transparent', false);
57+
5858
this.pixelArt = GetObjectValue(config, 'pixelArt', false);
59+
this.transparent = GetObjectValue(config, 'transparent', false);
60+
this.clearBeforeRender = GetObjectValue(config, 'clearBeforeRender', true);
61+
this.backgroundColor = GetObjectValue(config, 'backgroundColor', '#000000');
5962

6063
// Callbacks
6164
this.preBoot = GetObjectValue(config, 'callbacks.preBoot', NOOP);

0 commit comments

Comments
 (0)