mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-02 19:26:43 +00:00
Add manual flag when restoring pos
This commit is contained in:
parent
716d8e746a
commit
0b1e85fbea
@ -101,6 +101,7 @@ function dragElement(dragEl, settings) {
|
|||||||
dragEl.style.right = pos.right;
|
dragEl.style.right = pos.right;
|
||||||
dragEl.style.top = pos.top;
|
dragEl.style.top = pos.top;
|
||||||
dragEl.style.bottom = pos.bottom;
|
dragEl.style.bottom = pos.bottom;
|
||||||
|
dragEl.classList.add("comfy-menu-manual-pos");
|
||||||
ensureInBounds();
|
ensureInBounds();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user