mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
629036edfe
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. |
||
---|---|---|
.. | ||
Card.cpp | ||
Card.h | ||
CardStack.cpp | ||
CardStack.h | ||
main.cpp | ||
Makefile | ||
SolitaireWidget.cpp | ||
SolitaireWidget.h |