mirror of
https://github.com/google/blockly.git
synced 2026-01-05 08:00:09 +01:00
fix(blocks): boolean variable block wrong shape for zelos (#7335)
* fix(blocks): boolean variable block wrong shape for zelos * fixup! fix(blocks): boolean variable block wrong shape for zelos
This commit is contained in:
@@ -625,6 +625,22 @@ export class RenderedConnection extends Connection {
|
||||
this.sourceBlock_.bumpNeighbours();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Change a connection's compatibility.
|
||||
* Rerender blocks as needed.
|
||||
*
|
||||
* @param check Compatible value type or list of value types. Null if all
|
||||
* types are compatible.
|
||||
* @returns The connection being modified (to allow chaining).
|
||||
*/
|
||||
override setCheck(check: string | string[] | null): RenderedConnection {
|
||||
super.setCheck(check);
|
||||
if (this.sourceBlock_.rendered) {
|
||||
this.sourceBlock_.queueRender();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
export namespace RenderedConnection {
|
||||
|
||||
Reference in New Issue
Block a user