Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solitaire: Make sure to not add card twice to m_focused_cards
There is a possibility that the same card gets added twice to m_focused_cards when first mousedown_event fires and then doubleclick_event, without the cards redrawing first. This would cause mouseup_event to try to pop too many cards from the stack, causing an assertion to fail. When the system is laggy there is also a high possibility that mousedown_event would fire twice without redrawing the cards first, causing another assertion to fail. Addditional mousedown_events will just be ignored now.
- Loading branch information