Skip to content

Bug: Card event bindings in Undo #8

Closed
@quandyfactory

Description

When you undo and the deck gets reverted to a previous state, the _sol.deck items revert and their representations on the board revert, but their associated event handlers (drag, click, dblclick) do not rever.

The undo() function will need to unbind() and then reattach the appropriate event handlers, given each card's position and face orientation. This may require a bit more abstraction of the functionality to attach event handlers.

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions