Skip to content

Commit

Permalink
cmon please (begging has to work)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpiritAxolotl committed Nov 30, 2023
1 parent fb16e6c commit 07ce146
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions tests/glitch/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,16 @@
<head>
<title>Glitch Shader</title>
</head>
<body style="background-color: black;">
<body style="background-color: black; overscroll-behavior: none;">
<canvas
id="glitch-shader"
width="1440"
height="900"
style="
width: 100%;
height: 100%;
"
></canvas>
<script>
const canvas = document.getElementById("glitch-shader");
const width = canvas.clientWidth;
const height = canvas.clientHeight;
if (canvas.width !== width || canvas.height !== height) {
canvas.width = width;
canvas.height = height;
}
</script>
<script async type="module">
import { SimpleShader as Shader } from "/js/simple-shader.js";
import * as frags from "/tests/frags.glsl.js";
Expand Down

1 comment on commit 07ce146

@CalmBubbles
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woa

Please sign in to comment.