Przeglądaj źródła

Fix egregious comment typo

tags/v0.1.0
Fen Dweller 6 lat temu
rodzic
commit
a550570179
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js Wyświetl plik

@@ -722,7 +722,7 @@ function testClick(event) {
testCtx.drawImage(target, 0, 0, w, h);
alpha = testCtx.getImageData(Math.floor(x / ratio), Math.floor(y / ratio), 1, 1).data[3]; // [0]R [1]G [2]B [3]A
// If pixel is transparent,
// retrieve the element underneath and trigger it's click event
// retrieve the element underneath and trigger its click event
if (alpha === 0) {
const oldDisplay = target.style.display;
target.style.display = "none";


Ładowanie…
Anuluj
Zapisz