Fix overscroll behavior

https://github.com/BlueMap-Minecraft/BlueMap/issues/237
This commit is contained in:
FrostBird347 2021-08-25 13:49:15 +08:00 committed by GitHub
parent ce57dfdda5
commit 96dc06011b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
<title>BlueMap Lib Test</title> <title>BlueMap Lib Test</title>
<link rel="shortcut icon" href="favicon.png"> <link rel="shortcut icon" href="favicon.png">
</head> </head>
<body style="margin: 0; padding: 0;"> <body style="margin: 0; padding: 0; overscroll-behavior: none">
<div id="map-container" style="position: absolute; width: 100%; height: 100%;"></div> <div id="map-container" style="position: absolute; width: 100%; height: 100%;"></div>
<script type="text/javascript" src="js/three.js"></script> <script type="text/javascript" src="js/three.js"></script>
@ -82,4 +82,4 @@
}); });
</script> </script>
</body> </body>
</html> </html>