mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
chore: clean up mutator tests (#7434)
* chore: work on cleaning up mutator tests
* chore: remove need for dragBlockSelector
* chore: add helpers to clean up tests
* chore: add issue link in TODO
* chore: format and add docs for new helpers
* Revert "chore: remove need for dragBlockSelector"
This reverts commit dfec88a6aa.
* chore: fixup connect helper
This commit is contained in:
@@ -1213,6 +1213,7 @@ export abstract class Flyout extends DeleteArea implements IFlyout {
|
||||
}
|
||||
|
||||
// Clone the block.
|
||||
// TODO(#7432): Add a saveIds parameter to `save`.
|
||||
const json = blocks.save(oldBlock) as blocks.State;
|
||||
// Normallly this resizes leading to weird jumps. Save it for terminateDrag.
|
||||
targetWorkspace.setResizesEnabled(false);
|
||||
|
||||
Reference in New Issue
Block a user