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

fix auto paste issue by fixing undo action #1000

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

nehashafi18
Copy link

Fixing autopaste function issue after undoing and repasting

Description

Fix the autopaste function after undoing by getting the copy_info from UI state and passing it in all undo & redo stack data.

Related Issue

#946
Autopaste should put the strand immediately to the right of the second strand, as happened the first time that we only had two strands. In other words we need Undo to undo not only the change to which strands are in the design, but also undo the change in internal Autopaste data that happens after each time you press Ctrl+Shift+V.

Motivation and Context

This fixes a bug where the index of the auto pasted strand is not updated after the undo action.

How Has This Been Tested?

Tested in the Chrome browser on my computer

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.

1 participant