Member Junction
    Preparing search index...
    • Clamps a candidate panel width to [SURFACE_PANEL_MIN_WIDTH, 70% of the overlay]. When the overlay width is unknown / not yet measurable (<= 0, NaN), only the minimum is enforced. The upper bound never drops below the minimum (tiny overlays resolve to the minimum width).

      Parameters

      • width: number
      • overlayWidth: number

      Returns number