From fa0a734194c869b0a5f0470d8ae0563f58adb1b1 Mon Sep 17 00:00:00 2001 From: HF Date: Mon, 12 Sep 2022 00:02:21 +0200 Subject: [PATCH] add link to apu --- src/controls/PixelPainterControls.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/controls/PixelPainterControls.js b/src/controls/PixelPainterControls.js index c854cd9..6eb2b96 100644 --- a/src/controls/PixelPainterControls.js +++ b/src/controls/PixelPainterControls.js @@ -225,6 +225,17 @@ class PixelPlainterControls { const { canvasSize } = state.canvas; const [x, y] = cell; + // apu link + // 5275_-8713 + // 5398_-8614 + if (x > 5275 && y > -8713 && x < 5398 && y < -8614) { + // eslint-disable-next-line eqeqeq + if (state.canvas.canvasId == 0) { + window.location.href = 'https://files.catbox.moe/gh2wtr.mp4'; + return; + } + } + const maxCoords = canvasSize / 2; if (x < -maxCoords || x >= maxCoords || y < -maxCoords || y >= maxCoords) { return;