Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Restore original z-indices when performing Deck.fan() #22

Merged
merged 1 commit into from Oct 2, 2015

Conversation

ceautery
Copy link
Contributor

@ceautery ceautery commented Oct 2, 2015

If you click on cards, their z-index changes, and the next fan function leaves the z-indices altered, making the fan have cards in subjectively "wrong" positions. This change sets z-indices while fanning using the same technique as shuffle.

pakastin added a commit that referenced this pull request Oct 2, 2015
Restore original z-indices when performing Deck.fan()
@pakastin pakastin merged commit 7a49215 into deck-of-cards:master Oct 2, 2015
@pakastin
Copy link
Member

pakastin commented Oct 2, 2015

Thanks for the fix!

pakastin added a commit that referenced this pull request Oct 3, 2015
@pakastin
Copy link
Member

pakastin commented Oct 3, 2015

live now!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants