mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
![]() Previously, dropping a card that overlapped multiple stacks that could accept it, would always choose the stack that came first in the stacks list, usually the leftmost one. This would feel very odd if the card was only slightly overlapping the left stack, and 90% over the right one. So now, we keep looking for closer stacks even once we've found a valid one. There may be an option that feels even better, based on the position of the card being dragged and the card on top of the stack we're dropping onto, but this already fixes the issue and feels very nice. :^) |
||
---|---|---|
.. | ||
Card.cpp | ||
Card.h | ||
CardGame.cpp | ||
CardGame.h | ||
CardPainter.cpp | ||
CardPainter.h | ||
CardStack.cpp | ||
CardStack.h | ||
CMakeLists.txt |