Просмотр исходного кода

Fix egregious comment typo

tags/v0.1.0
Fen Dweller 6 лет назад
Родитель
Сommit
a550570179
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js Просмотреть файл

@@ -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";


Загрузка…
Отмена
Сохранить