event handlers for ceiling

This commit is contained in:
wass08
2026-02-25 09:25:00 +09:00
parent c53f1f9679
commit 31927da543
@@ -25,6 +25,7 @@ export const CeilingSystem = () => {
const ceilingGrid = mesh.getObjectByName('ceiling-grid')
if (ceilingGrid) {
ceilingGrid.visible = shouldShowGrid
ceilingGrid.scale.setScalar(shouldShowGrid ? 1 : 0.0) // Scale down to zero to prevent event interference when grid is hidden
}
}
})