Update CHANGELOG-v3.80.md

This commit is contained in:
Robert Kowalski 2024-01-29 23:33:19 -05:00
parent 6c55aba8d9
commit be5223936a
2 changed files with 4 additions and 1 deletions

View file

@ -17,6 +17,7 @@
* `Factory.staticBody` had the wrong return type in the docs/TS defs. Fix #6693 (thanks @ddhaiby) * `Factory.staticBody` had the wrong return type in the docs/TS defs. Fix #6693 (thanks @ddhaiby)
* The `Time.Timeline` class didn't show as extending the Event Emitter, or have `config` as an optional argument in the docs / TS defs. Fix #6673 (thanks @ghclark2) * The `Time.Timeline` class didn't show as extending the Event Emitter, or have `config` as an optional argument in the docs / TS defs. Fix #6673 (thanks @ghclark2)
* `Animations.AnimationFrame#duration` is now the complete duration of the frame. Before this included `Animations.AnimationState#msPerFrame` with the value of `Animations.AnimationFrame#duration`. The fix to remove `Animations.AnimationState#msPerFrame` from `Animations.AnimationFrame#duration` has been removed from `Animations.AnimationManager#createFromAseprite` because of this clarification. Fix #6712 (thanks @Nerodon @TomMalitz) * `Animations.AnimationFrame#duration` is now the complete duration of the frame. Before this included `Animations.AnimationState#msPerFrame` with the value of `Animations.AnimationFrame#duration`. The fix to remove `Animations.AnimationState#msPerFrame` from `Animations.AnimationFrame#duration` has been removed from `Animations.AnimationManager#createFromAseprite` because of this clarification. Fix #6712 (thanks @Nerodon @TomMalitz)
* The `NineSlice` Game Object method `setSize` now recalculates its origin by calling the `updateDisplayOrigin` method. (thanks @dhashvir)
## Examples, Documentation, Beta Testing and TypeScript ## Examples, Documentation, Beta Testing and TypeScript
@ -25,4 +26,4 @@ My thanks to the following for helping with the Phaser 3 Examples, Beta Testing,
@AlvaroEstradaDev @AlvaroEstradaDev
@stevenwithaph @stevenwithaph
@paxperscientiam @paxperscientiam
@samme

View file

@ -839,7 +839,9 @@ var NineSlice = new Class({
{ {
this.width = width; this.width = width;
this.height = height; this.height = height;
this.updateDisplayOrigin(); this.updateDisplayOrigin();
var input = this.input; var input = this.input;
if (input && !input.customHitArea) if (input && !input.customHitArea)