diff options
| Commit | 17708867019c5fcdc68b0f7f4725aede551fc94a (patch) | |
|---|---|---|
| Author | 2023-08-27 15:26:07 +0300 | |
| Committer | 2023-08-27 15:26:07 +0300 | |
| Files | 9a3d3f74774d67c140f0b72f23c9ddd265a8b9a7 | |
| uni-projects-17708867019c5fcdc68b0f7f4725aede551fc94a.tar uni-projects-17708867019c5fcdc68b0f7f4725aede551fc94a.tar.gz uni-projects-17708867019c5fcdc68b0f7f4725aede551fc94a.zip | ||
| Parent | 52ca40b96baa6bd0f4bce48a69b9bb34582386f3 (diff) | |
[WGL/P] Fixed start moving making the canvas blank
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | Year 2/Computer Graphics with WebGL/Project/menu.js | 2 |
diff --git a/Year 2/Computer Graphics with WebGL/Project/menu.js b/Year 2/Computer Graphics with WebGL/Project/menu.js index 1a9555f..9b61ef7 100644 --- a/Year 2/Computer Graphics with WebGL/Project/menu.js +++ b/Year 2/Computer Graphics with WebGL/Project/menu.js @@ -20,7 +20,7 @@ const onlyHorizontalCB = document.getElementById('only-horizontal'); function horChange() { onlyHorizontal = this.checked; } -horChange.call(horChange); +horChange.call(onlyHorizontalCB); onlyHorizontalCB.addEventListener('change', horChange); const onlyVerticalCB = document.getElementById('only-vertical'); |
