Skip to content

Commit 04a5af6

Browse files
vagkaratzasclaude
andcommitted
fix: refresh node labels on predefined layout change
applyPredefinedLayout moved nodes but only flagged layer labels for redraw, leaving node label divs at their pre-layout screen positions. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent cdd0440 commit 04a5af6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

frontend/src/actions/layout.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export function applyPredefinedLayout(name: PredefinedLayout): void {
7979
// replaces the v2 Shiny syncs: displaced layers need edge + label redraw
8080
ctx.renderInterLayerEdgesFlag = true
8181
ctx.renderLayerLabelsFlag = true
82+
ctx.renderNodeLabelsFlag = true
8283
}
8384

8485
function resetSceneAndLayerPositions(): void {

0 commit comments

Comments
 (0)