瀏覽代碼

Minor type fix

master
Palash Bansal 2 年之前
父節點
當前提交
c78018910e
沒有連結到貢獻者的電子郵件帳戶。
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      src/core/camera/PerspectiveCamera2.ts
  2. 1
    1
      src/plugins/animation/CameraViewPlugin.ts

+ 1
- 1
src/core/camera/PerspectiveCamera2.ts 查看文件

@@ -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 查看文件

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


Loading…
取消
儲存