serenity/Games/Solitaire
Till Mayer 629036edfe 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.
2020-03-11 10:06:00 +01:00
..
Card.cpp Games: Added solitaire 2020-03-09 21:36:59 +01:00
Card.h Games: Added solitaire 2020-03-09 21:36:59 +01:00
CardStack.cpp Games: Added solitaire 2020-03-09 21:36:59 +01:00
CardStack.h Games: Added solitaire 2020-03-09 21:36:59 +01:00
main.cpp Games: Added solitaire 2020-03-09 21:36:59 +01:00
Makefile Games: Added solitaire 2020-03-09 21:36:59 +01:00
SolitaireWidget.cpp Solitaire: Make sure to not add card twice to m_focused_cards 2020-03-11 10:06:00 +01:00
SolitaireWidget.h Games: Added solitaire 2020-03-09 21:36:59 +01:00