From 38899d31d0d30a1bf9557d0c6ce6389921e213c3 Mon Sep 17 00:00:00 2001 From: Mashy Date: Thu, 17 Oct 2019 17:44:05 +1000 Subject: [PATCH] disable hover info during anim --- client/src/components/skill.btn.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/components/skill.btn.jsx b/client/src/components/skill.btn.jsx index f8fdcc7e..93a15816 100644 --- a/client/src/components/skill.btn.jsx +++ b/client/src/components/skill.btn.jsx @@ -34,6 +34,7 @@ const addState = connect( function Skill(props) { const { + animating, construct, game, i, @@ -49,6 +50,7 @@ function Skill(props) { function hoverInfo(e, info) { e.stopPropagation(); + if (animating) return false; return setGameInfo(info); } if (!s || !game) {