oEtG Forum

General Category => Game Bugs => Fixed Bugs => Topic started by: cg on March 22, 2018, 11:31:45 pm

Title: playing a card from hand doesn't end mouseover
Post by: cg on March 22, 2018, 11:31:45 pm
so the preview stays visible until you mouseover something else

edit- also true of click-targeting a spell/active that kills the target. basically have click trigger the same thing that end-mouseover triggers
Title: Re: playing a card from hand doesn't end mouseover
Post by: serprex on March 24, 2018, 03:22:57 am
This is caused by React rerenders removing the element. Previously we tracked mouse position & updated the hovercard on every frame
Title: Re: playing a card from hand doesn't end mouseover
Post by: serprex on March 24, 2018, 03:44:46 am
https://github.com/serprex/openEtG/commit/11a951d3c4a36a3df05231a900a327b59989dcc7