Polish approved 1.0 scope and verify portable previews

This commit is contained in:
SantaSpeen committed 2026-12-02 16:12:49 +03:00
1 parent 1819f35f91
commit 2b45df2816
181 files changed
+996 -139

No files matched your search

+4 -2
View File
@@ -54,7 +54,7 @@ export function mountAccountSubmenu(parent) {
}
function position() {
cancelAnimationFrame(frame);
frame = requestAnimationFrame(() => {
function place() {
if (disposed || !open()) return;
const viewport = window.visualViewport,
vw = viewport?.width || document.documentElement.clientWidth,
@@ -83,7 +83,9 @@ export function mountAccountSubmenu(parent) {
oy + 12,
Math.min(row.getBoundingClientRect().top, oy + vh - h - 12),
) + "px";
});
}
place();
frame = requestAnimationFrame(place);
}
function close(restore = false) {
clearTimeout(timer);