Skip to content

Commit b216e9e

Browse files
authored
fix: update content highlight when undoing the deletion of blocks. (#2487)
1 parent 986618f commit b216e9e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugins/content-highlight/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import * as Blockly from 'blockly/core';
1515
*/
1616
const contentChangeEvents = [
1717
Blockly.Events.VIEWPORT_CHANGE,
18+
Blockly.Events.BLOCK_CREATE,
1819
Blockly.Events.BLOCK_MOVE,
1920
Blockly.Events.BLOCK_DELETE,
2021
Blockly.Events.COMMENT_MOVE,

0 commit comments

Comments
 (0)