Fix lints

This commit is contained in:
Fuhrmann 2025-04-01 14:41:32 +02:00
parent b544c315b0
commit b07af96673
2 changed files with 11 additions and 15 deletions

View file

@ -259,9 +259,9 @@ export function Form() {
<div className="flex flex-col gap-2">
{sceneView?.model.children.map((child) => {
const key = `toggle-visibility-${child.name}`;
//const color = `#${(
// (child as Mesh).material as MeshStandardMaterial
//).color.getHexString()}`;
const color = `#${(
(child as Mesh).material as MeshStandardMaterial
).color.getHexString()}`;
const visible = (child as Mesh).visible;
return (
@ -272,7 +272,7 @@ export function Form() {
<span
className="inline-block w-5 h-5 flex-none rounded"
style={{
backgroundColor: "white",
backgroundColor: color,
}}
></span>
<input