mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-06 01:16:58 -06:00
Fix build errors
This commit is contained in:
@@ -21,7 +21,7 @@ const Dots: React.FC = () => {
|
|||||||
|
|
||||||
let w = window.innerWidth;
|
let w = window.innerWidth;
|
||||||
let h = window.innerHeight;
|
let h = window.innerHeight;
|
||||||
let offsetY = window.scrollY;
|
const offsetY = window.scrollY;
|
||||||
|
|
||||||
const SCALE = 200;
|
const SCALE = 200;
|
||||||
const LENGTH = 10;
|
const LENGTH = 10;
|
||||||
@@ -69,7 +69,7 @@ const Dots: React.FC = () => {
|
|||||||
const nx = x + cos(rad) * length;
|
const nx = x + cos(rad) * length;
|
||||||
const ny = y + sin(rad) * length;
|
const ny = y + sin(rad) * length;
|
||||||
|
|
||||||
let opacity = 1;
|
const opacity = 1;
|
||||||
|
|
||||||
// const center_distance = Math.sqrt((x - w / 2) ** 2 + (y - h / 2) ** 2);
|
// const center_distance = Math.sqrt((x - w / 2) ** 2 + (y - h / 2) ** 2);
|
||||||
// if (center_distance < 350)
|
// if (center_distance < 350)
|
||||||
|
|||||||
Reference in New Issue
Block a user