Browse Source

Add manual flag when restoring pos

pull/276/head
pythongosssss 2 years ago
parent
commit
0b1e85fbea
  1. 1
      web/scripts/ui.js

1
web/scripts/ui.js

@ -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…
Cancel
Save