preventing default on touchmove to keep iOS browsers from bouncing

This commit is contained in:
Rezmason
2019-10-27 21:46:18 -07:00
parent ec4d1878c4
commit d243d42e72

View File

@@ -24,6 +24,9 @@
<script>
// iOS STOP SCROLLING DAMN IT
document.addEventListener('touchmove', e => e.preventDefault(), { passive: false });
const fonts = {
coptic: {
textureURL: "./coptic_msdf.png",