Fix spawn floorplan move handle

This commit is contained in:
Aymeric Rabot
2026-06-10 14:11:50 -04:00
parent 3a1ba56246
commit 5fd9be05df
4 changed files with 48 additions and 0 deletions
+2
View File
@@ -1,6 +1,7 @@
import type { HandleDescriptor, NodeDefinition, SpawnNode as SpawnNodeType } from '@pascal-app/core'
import { buildSpawnFloorplan } from './floorplan'
import { spawnRotateAffordance } from './floorplan-affordances'
import { spawnFloorplanMoveTarget } from './floorplan-move'
import { spawnParametrics } from './parametrics'
import { SpawnNode } from './schema'
@@ -92,6 +93,7 @@ export const spawnDefinition: NodeDefinition<typeof SpawnNode> = {
// delete. Legacy spawn click handlers in FloorplanNodeLayer become
// dead code once Phase 6 cleanup removes the [] entries path.
floorplan: buildSpawnFloorplan,
floorplanMoveTarget: spawnFloorplanMoveTarget,
floorplanAffordances: {
'spawn-rotate': spawnRotateAffordance,
},