Skip to content

Commit 0c6add4

Browse files
committed
fix: simplify info text y-position by removing extraControls collapsed condition
1 parent 8503632 commit 0c6add4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/ResolutionMaster.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ class ResolutionMasterCanvas {
460460
this.draw2DCanvas(ctx, margin, currentY, node.size[0] - margin * 2, canvasHeight, canvasPadding);
461461
currentY += canvasHeight + this.getCanvasInfoGap();
462462

463-
const infoY = this.collapsedSections.extraControls && this.lastCanvasBounds
463+
const infoY = this.lastCanvasBounds
464464
? this.lastCanvasBounds.y + this.lastCanvasBounds.h + 18
465465
: currentY;
466466
this.drawInfoText(ctx, infoY);

0 commit comments

Comments
 (0)