e.stopPropagation()} onmousedown={(e) => e.stopPropagation()} onclick={(e) => e.stopPropagation()} ondblclick={(e) => e.stopPropagation()} onpointerleave={onPanelLeave} onpointermovecapture={onPanelMove} > {#if SHOW_CLOSE_BTN} {/if}
{#if !hasDock}
No 3D Poser node in the graph
{/if}
{ e.preventDefault(); e.stopPropagation(); const poser = dockedNode || getActivePoser(); const w = poser?.widgets?.find((x) => x.name === "width")?.value; const h = poser?.widgets?.find((x) => x.name === "height")?.value; if (!w || !h) return; const bodyH = bodyEl?.offsetHeight || panelEl?.offsetHeight || 300; panelWidth = clampPanelWidth(Math.round(bodyH * (w / h))); if (node.properties) node.properties.pcrPosePanelWidth = panelWidth; }} >