Fix image compare control overlap

This commit is contained in:
2026-10-22 07:33:36 +00:00
parent aae38aed61
commit 711db02f17
+5 -1
View File
@@ -20,7 +20,11 @@ const BUTTON_TOP = 10;
const INFO_TOP = 30;
const BTN_X = 80;
const MIN_W = BTN_X + 6 * 56 + BUTTON_GAP * 5 + 6;
const MIN_H = IMAGE_TOP + 100;
// The compare canvas is square and starts below the controls. The previous
// 154px minimum was smaller than the intended initial 494px node, so Vue
// Nodes could shrink the DOM widget until its output sockets overlapped the
// mode buttons and canvas.
const MIN_H = INIT_H;
const TOP_TRIM = 8;
const SIZE_FONT = "12px 'Segoe UI',sans-serif";
const BADGE_FONT = "10px 'Segoe UI',sans-serif";