Add manual flag when restoring pos
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user