Revert rendered geometry experiment
tests / test (push) Canceled after 0s
tests / windows-storage (push) Canceled after 0s

This commit is contained in:
2026-10-15 11:21:31 +00:00
parent 7db7a55207
commit d7ff6ff609
+1 -5
View File
@@ -380,11 +380,7 @@ function configure(node) {
});
panel.append(menu);
menu.style.left = `${Math.max(5, (suggestionLayer?.offsetLeft || 0) + 4)}px`;
const promptFrameRect = promptFrame?.getBoundingClientRect();
const menuRect = menu.getBoundingClientRect();
if (promptFrameRect && menuRect) {
menu.style.transform = `translateY(${promptFrameRect.top - menuRect.top}px)`;
}
menu.style.top = `${Math.max(5, suggestionLayer?.offsetTop || 0)}px`;
autocomplete = menu;
};
prompt.oninput = () => { rememberPromptSelection(); promptText = prompt.value; clip.prompt = prompt.value; };