mirror of
https://github.com/wassname/phaser.git
synced 2026-08-18 12:20:33 +08:00
Fixed an issue in Text. Fixed the background color issue with Canvas games. Updated the Examples viewer so the side-by-side focuses the iframe now. Added new "Extend Group" example.
This commit is contained in:
+1
-4
@@ -21,12 +21,9 @@ PIXI.CanvasRenderer.prototype.render = function(stage)
|
||||
|
||||
PIXI.visibleCount++;
|
||||
stage.updateTransform();
|
||||
|
||||
// update the background color
|
||||
// if(this.view.style.backgroundColor!=stage.backgroundColorString && !this.transparent)this.view.style.backgroundColor = stage.backgroundColorString;
|
||||
|
||||
this.context.setTransform(1, 0, 0, 1, 0, 0);
|
||||
// this.context.clearRect(0, 0, this.width, this.height)
|
||||
this.context.clearRect(0, 0, this.width, this.height)
|
||||
this.renderDisplayObject(stage);
|
||||
|
||||
// Remove frame updates
|
||||
|
||||
Reference in New Issue
Block a user