fix: method

This commit is contained in:
cha0s 2019-04-19 17:44:03 -05:00
parent c84ae4b62f
commit 6414f2db27

View File

@ -115,7 +115,7 @@ export class Stage extends decorate(Container) {
onCameraChanged(oldCamera) {
if (oldCamera) {
oldCamera.off('realPositionChanged', onCameraRealPositionChanged);
oldCamera.off('realPositionChanged', this.onCameraRealPositionChanged);
}
if (this.camera) {
this.camera.on(