Skip to content

Commit 88b02a5

Browse files
committed
Renamed the Camera Controls module exports for Fixed to FixedKeyControl and Smoothed to SmoothedKeyControl to match the class names. Fix phaserjs#3463
1 parent 0699827 commit 88b02a5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ being passed to the simulation. The default value is 1 to remain consistent with
3333
* BaseSound has had its `rate` and `detune` properties removed as they are always set in the overriding class.
3434
* BaseSound `setRate` and `setDetune` from the 3.3.0 release have moved to the WebAudioSound and HTML5AudioSound classes respectively, as they each handle the values differently.
3535
* The file `InteractiveObject.js` has been renamed to `CreateInteractiveObject.js` to more accurately reflect what it does and to avoid type errors in the docs.
36+
* Renamed the Camera Controls module exports for `Fixed` to `FixedKeyControl` and `Smoothed` to `SmoothedKeyControl` to match the class names. Fix #3463 (thanks @seivan)
3637

3738

3839

src/cameras/controls/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
module.exports = {
1212

13-
Fixed: require('./FixedKeyControl'),
14-
Smoothed: require('./SmoothedKeyControl')
13+
FixedKeyControl: require('./FixedKeyControl'),
14+
SmoothedKeyControl: require('./SmoothedKeyControl')
1515

1616
};

0 commit comments

Comments
 (0)