Add manual flag when restoring pos

This commit is contained in:
pythongosssss 2023-03-26 15:10:38 +01:00
parent 716d8e746a
commit 0b1e85fbea

View File

@ -101,6 +101,7 @@ function dragElement(dragEl, settings) {
dragEl.style.right = pos.right;
dragEl.style.top = pos.top;
dragEl.style.bottom = pos.bottom;
dragEl.classList.add("comfy-menu-manual-pos");
ensureInBounds();
}
}