Przeglądaj źródła

Minor type fix

master
Palash Bansal 2 lat temu
rodzic
commit
c78018910e
No account linked to committer's email address

+ 1
- 1
src/core/camera/PerspectiveCamera2.ts Wyświetl plik

@@ -430,7 +430,7 @@ export class PerspectiveCamera2 extends PerspectiveCamera implements ICamera {
// region ui

private _camUi: UiObjectConfig[] = [
...generateUiConfig(this),
...generateUiConfig(this) || [],
{
type: 'input',
label: ()=>(this.autoNearFar ? 'Min' : '') + ' Near',

+ 1
- 1
src/plugins/animation/CameraViewPlugin.ts Wyświetl plik

@@ -360,7 +360,7 @@ export class CameraViewPlugin extends AViewerPluginSync<'viewChange'|'startViewC
// expanded: true,
children: [
()=>[...this._cameraViews.map(view => view.uiConfig)],
...generateUiConfig(this),
...generateUiConfig(this) || [],
],
}


Ładowanie…
Anuluj
Zapisz