Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retain edit mode on cloned cards #237

Merged
merged 1 commit into from
Nov 18, 2015
Merged

Conversation

mixonic
Copy link
Contributor

@mixonic mixonic commented Nov 18, 2015

In Typeset, @ZeeJab was moving around new cards with the arrow buttons. This caused a card in edit mode to be cloned and moved to the new location. Because initial mode was not set, the card would flop to display and out of edit without a valid payload.

It seems reasonable that a new card would retain the current mode of render as you move it around. This adds logic to clone that set the initial mode of the new card correctly.

@ZeeJab
Copy link
Contributor

ZeeJab commented Nov 18, 2015

LOOKS GOOD TO Z! THANK YOU!! 🎲

ZeeJab added a commit that referenced this pull request Nov 18, 2015
Retain edit mode on cloned cards
@ZeeJab ZeeJab merged commit 7b781de into bustle:master Nov 18, 2015
@mixonic mixonic deleted the retain-edit-mode branch November 19, 2015 16:00
@mixonic mixonic mentioned this pull request Nov 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants