fix: method
This commit is contained in:
parent
c84ae4b62f
commit
6414f2db27
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user