disable hover info during anim

This commit is contained in:
Mashy 2019-10-17 17:44:05 +10:00
parent b896a7ee42
commit 38899d31d0

View File

@ -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) {