Skip to content

Commit 85270ff

Browse files
committed
fix: use negative badge clearance in Vue nodes mode
getVueCompatBottomBadgeClearance returned +23 instead of -23, causing the canvas layout to offset incorrectly when extraControls are collapsed in Vue nodes mode.
1 parent 0a411db commit 85270ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/node/resolution_master_node_lifecycle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const nodeLifecycleMethods = {
4848
},
4949

5050
getVueCompatBottomBadgeClearance() {
51-
return this.isVueNodesMode() && this.collapsedSections?.extraControls ? 23 : 0;
51+
return this.isVueNodesMode() && this.collapsedSections?.extraControls ? -23 : 0;
5252
},
5353

5454
scheduleVueCompatHeightRedraw() {

0 commit comments

Comments
 (0)