Skip to content

Commit 519f849

Browse files
committed
fixed visual bug in focued mode - local pc rendered in the GKE cluster in some instances
1 parent 948c544 commit 519f849

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/visualization-shop/visualization-frontend/src/app/VisualizationPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3337,7 +3337,7 @@ export default function VisualizationPage({ useQueueSplittingMock, useDbBranchMo
33373337
// Computed AFTER pg-branch and queue-split placement so it tracks the true cluster bottom.
33383338
// localGap must be > localPadTop + zonePadBot (92 + 44 = 136) to avoid zone overlap.
33393339
const clusterBottomCandidates = [...positions.entries()]
3340-
.filter(([id]) => id !== layerId && id !== agentId)
3340+
.filter(([id]) => id !== layerId)
33413341
.map(([, p]) => p.y + nodeHeight);
33423342
const maxClusterBottom = clusterBottomCandidates.length
33433343
? Math.max(...clusterBottomCandidates)

0 commit comments

Comments
 (0)