From 7953a3f1a8d7e769ab9cd3f21d9fed9f0dd0375d Mon Sep 17 00:00:00 2001 From: bvanvugt <1531419+bvanvugt@users.noreply.github.com> Date: Mon, 26 Jul 2021 21:09:25 -0700 Subject: [PATCH] Remove hazard pulse effect. --- src/components/grid.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/grid.jsx b/src/components/grid.jsx index c78a288..46f71ac 100644 --- a/src/components/grid.jsx +++ b/src/components/grid.jsx @@ -468,8 +468,7 @@ class Grid extends React.Component { (CELL_SIZE + CELL_SPACING) * this.props.rows + CELL_SPACING; const sine = (new Date().getTime() / 500.0) % 2; - const pulse = 0.05 * Math.sin(Math.PI * sine); - const hazardOpacity = parseFloat(colors.hazardOpacity) + pulse; + const hazardOpacity = parseFloat(colors.hazardOpacity); return (