disable hover info during anim
This commit is contained in:
parent
b896a7ee42
commit
38899d31d0
@ -34,6 +34,7 @@ const addState = connect(
|
|||||||
|
|
||||||
function Skill(props) {
|
function Skill(props) {
|
||||||
const {
|
const {
|
||||||
|
animating,
|
||||||
construct,
|
construct,
|
||||||
game,
|
game,
|
||||||
i,
|
i,
|
||||||
@ -49,6 +50,7 @@ function Skill(props) {
|
|||||||
|
|
||||||
function hoverInfo(e, info) {
|
function hoverInfo(e, info) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
if (animating) return false;
|
||||||
return setGameInfo(info);
|
return setGameInfo(info);
|
||||||
}
|
}
|
||||||
if (!s || !game) {
|
if (!s || !game) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user