浏览代码

chore: add comment for refactor

alvarosabu 1 年之前
父节点
当前提交
3d810b06d0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/components/TresScene.ts

+ 1 - 0
src/components/TresScene.ts

@@ -64,6 +64,7 @@ export const TresScene = defineComponent<TresSceneProps>({
       logWarning('physicallyCorrectLights is deprecated, useLegacyLights is now false by default')
     }
 
+    // TODO: refactor this when this component is refactored to SFC (single file component)
     const isRenderDisabled = computed(() => props.disableRender !== false && props.disableRender !== undefined)
 
     const container = ref<HTMLElement>()