diff --git a/js/compare/index.js b/js/compare/index.js index 8ad70d7..31dbad9 100644 --- a/js/compare/index.js +++ b/js/compare/index.js @@ -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";