|
@@ -27,9 +27,9 @@ import { SpeedyPromise } from 'speedy-vision/types/core/speedy-promise';
|
27
|
27
|
import { Nullable } from '../utils/utils';
|
28
|
28
|
import { Resolution } from '../utils/resolution';
|
29
|
29
|
import { Utils } from '../utils/utils';
|
30
|
|
-import { IllegalArgumentError, IllegalOperationError, NotSupportedError, AccessDeniedError } from '../utils/errors';
|
31
|
30
|
import { HUD, HUDContainer } from './hud';
|
32
|
31
|
import { AREvent, AREventTarget, AREventListener } from '../utils/ar-events';
|
|
32
|
+import { IllegalArgumentError, IllegalOperationError, NotSupportedError, AccessDeniedError } from '../utils/errors';
|
33
|
33
|
|
34
|
34
|
|
35
|
35
|
|
|
@@ -758,15 +758,15 @@ export class Viewport extends ViewportEventTarget
|
758
|
758
|
/** The canvases of the viewport */
|
759
|
759
|
private readonly _canvases: ViewportCanvases;
|
760
|
760
|
|
761
|
|
- /** Fullscreen utilities */
|
762
|
|
- private readonly _fullscreen: ViewportFullscreenHelper;
|
763
|
|
-
|
764
|
761
|
/** Resize helper */
|
765
|
762
|
private readonly _resizer: ViewportResizer;
|
766
|
763
|
|
767
|
764
|
/** The current size of the underlying SpeedyMedia */
|
768
|
765
|
private _mediaSize: ViewportSizeGetter;
|
769
|
766
|
|
|
767
|
+ /** Fullscreen utilities */
|
|
768
|
+ private readonly _fullscreen: ViewportFullscreenHelper;
|
|
769
|
+
|
770
|
770
|
|
771
|
771
|
|
772
|
772
|
|
|
@@ -791,9 +791,10 @@ export class Viewport extends ViewportEventTarget
|
791
|
791
|
this._hud = new HUD(this._subContainer, settings.hudContainer);
|
792
|
792
|
this._canvases = new ViewportCanvases(this._subContainer, initialSize, settings.canvas);
|
793
|
793
|
|
794
|
|
- this._fullscreen = new ViewportFullscreenHelper(this.container);
|
795
|
794
|
this._resizer = new ViewportResizer(this);
|
796
|
795
|
this._resizer.setStrategyByName(this._style);
|
|
796
|
+
|
|
797
|
+ this._fullscreen = new ViewportFullscreenHelper(this.container);
|
797
|
798
|
}
|
798
|
799
|
|
799
|
800
|
/**
|