mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
Fix moving cursor when block mutates (#3535)
* Fix moving cursor when block mutates
This commit is contained in:
@@ -323,11 +323,6 @@ Blockly.Block.prototype.dispose = function(healStack) {
|
||||
this.workspace.removeChangeListener(this.onchangeWrapper_);
|
||||
}
|
||||
|
||||
if (this.workspace.keyboardAccessibilityMode) {
|
||||
// No-op if this is called from the block_svg class.
|
||||
Blockly.navigation.moveCursorOnBlockDelete(this);
|
||||
}
|
||||
|
||||
this.unplug(healStack);
|
||||
if (Blockly.Events.isEnabled()) {
|
||||
Blockly.Events.fire(new Blockly.Events.BlockDelete(this));
|
||||
|
||||
Reference in New Issue
Block a user