You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the block cut process (ctrl + x) has a weakness of maintainability.
If use await in async function BlockSelection.copySelectedBlocks, cut process doesn't copy block data.
Because BlockManager.removeSelectedBlocks() is proceeded before BlockSelection.copySelectedBlocks.
This is the unstable async function usage.
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: