-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 unstable block cut process #1489
Comments
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the block cut process (ctrl + x) has a weakness of maintainability.
If use
await
in async functionBlockSelection.copySelectedBlocks
, cut process doesn't copy block data.Because
BlockManager.removeSelectedBlocks()
is proceeded beforeBlockSelection.copySelectedBlocks
.This is the unstable async function usage.
Reproduction code:
src/components/modules/blockSelection.ts
Please check: #1485
The text was updated successfully, but these errors were encountered: