From 0b1e85fbea14b3a9ed6269b53ec921dc4eb02668 Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Sun, 26 Mar 2023 15:10:38 +0100 Subject: [PATCH] Add manual flag when restoring pos --- web/scripts/ui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/scripts/ui.js b/web/scripts/ui.js index 117f4369..404aae26 100644 --- a/web/scripts/ui.js +++ b/web/scripts/ui.js @@ -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(); } }