mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
More work on connection type checks
This commit is contained in:
@@ -254,7 +254,8 @@ Blockly.blockRendering.Renderer.prototype.orphanCanConnectAtEnd =
|
||||
if (!lastConnection) {
|
||||
return false;
|
||||
}
|
||||
return orphanConnection.checkType(lastConnection);
|
||||
return orphanConnection.getConnectionTypeChecker().canConnect(
|
||||
lastConnection, orphanConnection, false, false);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user