You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The canvas now correctly scales inside a container div if using relative values for `width`/`height` in the [Phaser.Game](https://photonstorm.github.io/phaser-ce/Phaser.Game.html) constructor (#367). Make sure you give the container a [height](https://developer.mozilla.org/en-US/docs/Web/CSS/height).
353
353
* Fixed State#loadUpdate being called once when no assets have been loaded (#468).
354
354
* Fixed Debug#spriteInfo failing to show `sprite.name` as promised (#471).
Copy file name to clipboardexpand all lines: src/geom/Circle.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ Phaser.Circle.prototype = {
171
171
/**
172
172
* Returns a new Circle object with the same values for the x, y, width, and height properties as this Circle object.
173
173
* @method Phaser.Circle#clone
174
-
* @param {Phaser.Circle} output - Optional Circle object. If given the values will be set into the object, otherwise a brand new Circle object will be created and returned.
174
+
* @param {Phaser.Circle} [output] - Optional Circle object. If given the values will be set into the object, otherwise a brand new Circle object will be created and returned.
175
175
* @return {Phaser.Circle} The cloned Circle object.
Copy file name to clipboardexpand all lines: src/geom/Ellipse.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ Phaser.Ellipse.prototype = {
117
117
/**
118
118
* Returns a new Ellipse object with the same values for the x, y, width, and height properties as this Ellipse object.
119
119
* @method Phaser.Ellipse#clone
120
-
* @param {Phaser.Ellipse} output - Optional Ellipse object. If given the values will be set into the object, otherwise a brand new Ellipse object will be created and returned.
120
+
* @param {Phaser.Ellipse} [output] - Optional Ellipse object. If given the values will be set into the object, otherwise a brand new Ellipse object will be created and returned.
121
121
* @return {Phaser.Ellipse} The cloned Ellipse object.
Copy file name to clipboardexpand all lines: src/geom/Line.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -353,7 +353,7 @@ Phaser.Line.prototype = {
353
353
/**
354
354
* Returns a new Line object with the same values for the start and end properties as this Line object.
355
355
* @method Phaser.Line#clone
356
-
* @param {Phaser.Line} output - Optional Line object. If given the values will be set into the object, otherwise a brand new Line object will be created and returned.
356
+
* @param {Phaser.Line} [output] - Optional Line object. If given the values will be set into the object, otherwise a brand new Line object will be created and returned.
0 commit comments