1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 02:47:34 +00:00

Solitaire: Use CardGame dragging functionality

This commit is contained in:
Sam Atkins 2022-09-28 17:16:47 +01:00 committed by Sam Atkins
parent a2f0b67aea
commit 7d37aebc07
2 changed files with 29 additions and 56 deletions

View file

@ -186,9 +186,7 @@ private:
Mode m_mode { Mode::SingleCardDraw };
LastMove m_last_move;
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 };