1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:17:34 +00:00

Spider: Use CardGame dragging functionality

This commit is contained in:
Sam Atkins 2022-09-28 17:17:01 +01:00 committed by Sam Atkins
parent 7d37aebc07
commit a4c1ee905f
2 changed files with 25 additions and 60 deletions

View file

@ -82,9 +82,7 @@ private:
Mode m_mode { Mode::SingleSuit };
NonnullRefPtrVector<Card> m_focused_cards;
NonnullRefPtrVector<Card> m_new_deck;
CardStack* m_focused_stack { nullptr };
Gfx::IntPoint m_mouse_down_location;
bool m_mouse_down { false };