mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +00:00
Signal.removeAll would ignore the context parameter and remove all bindings regardless (thanks @alect #1168)
This commit is contained in:
parent
55400ce988
commit
7ee1564f2e
2 changed files with 5 additions and 1 deletions
|
@ -182,6 +182,7 @@ Version 2.1.0 - "Cairhien" - -in development-
|
|||
* Tween.generateData would skip the end values in the data array. They are now included as the object in the final array element.
|
||||
* Rectangle.bottom setter swapped the order of the calculation (thanks @JakeCoxon #1165)
|
||||
* Phaser.Text wouldn't render the text to its local canvas if you passed the text on the constructor and didn't add it to the display list. If a string is given it now updates the local canvas on creation.
|
||||
* Signal.removeAll would ignore the context parameter and remove all bindings regardless (thanks @alect #1168)
|
||||
|
||||
### p2.js 0.6.0 Changes and New Features
|
||||
|
||||
|
|
|
@ -257,7 +257,10 @@ Phaser.Signal.prototype = {
|
|||
}
|
||||
}
|
||||
|
||||
this._bindings.length = 0;
|
||||
if (!context)
|
||||
{
|
||||
this._bindings.length = 0;
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue