Fix: web version steal keyboard input
g_events.push({ "text": event.key });
}
invalidate();
- event.stopPropagation();
- event.preventDefault();
+ // event.stopPropagation();
+ // event.preventDefault();
});
// document.addEventListener("keypress", function (event) {
g_events.push({ "key": { "key": key, 'pressed': false } });
}
invalidate();
- event.stopPropagation();
- event.preventDefault();
+ // event.stopPropagation();
+ // event.preventDefault();
});
if (!ANIMATION_FRAME) {
