ported sdk and this works

This commit is contained in:
2026-10-04 21:44:03 -07:00
parent 3ee95c1bf5
commit 63b1a494cb
67 changed files with 6177 additions and 53 deletions

View File

@@ -103,4 +103,10 @@ document.addEventListener('mousemove', e => {
document.addEventListener('click', e => {
const f = e.target.closest('.f'); if (f) act(f)
});
ov.addEventListener('wheel', () => { }, { passive: true });
ov.addEventListener('wheel', () => { }, { passive: true });
window.vylaBack = () => {
const open = [pl, ov, lib, sr].some(e => e.classList.contains('show'));
if (open) document.dispatchEvent(new KeyboardEvent('keydown', { keyCode: 4, key: 'GoBack', bubbles: true, cancelable: true }));
return open;
};