mirror of
https://github.com/google/blockly.git
synced 2026-01-06 08:30:13 +01:00
fix!: have disposing be true from start of dispose (#7891)
This commit is contained in:
@@ -250,13 +250,13 @@ export function blockToDom(
|
||||
if (!block.isEnabled()) {
|
||||
element.setAttribute('disabled', 'true');
|
||||
}
|
||||
if (!block.isDeletable() && !block.isShadow()) {
|
||||
if (!block.isOwnDeletable()) {
|
||||
element.setAttribute('deletable', 'false');
|
||||
}
|
||||
if (!block.isMovable() && !block.isShadow()) {
|
||||
if (!block.isOwnMovable()) {
|
||||
element.setAttribute('movable', 'false');
|
||||
}
|
||||
if (!block.isEditable()) {
|
||||
if (!block.isOwnEditable()) {
|
||||
element.setAttribute('editable', 'false');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user