Skip to content

Cannot empty hands/fans #21

@simo1994

Description

@simo1994

Hello,
when the observable element is emptied, the hand or fan visualization will continue to display the last card that was present in it.
This can be easily resolved by modifying the function addCardImages(hand, cards) in this way, adding an hand.empty(); call.

        if (!cards) {
		hand.empty();
		return;
        }

If you fix this problem, please create a new version number so the CDN hosted version will be updated too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions