mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
Use registry for creating the no-category flyout (#4659)
* Use registry for creating the horizontal / vertical flyout
This commit is contained in:
@@ -51,7 +51,7 @@ Blockly.Workspace = function(opt_options) {
|
||||
this.toolboxPosition = this.options.toolboxPosition;
|
||||
|
||||
var connectionCheckerClass = Blockly.registry.getClassFromOptions(
|
||||
Blockly.registry.Type.CONNECTION_CHECKER, this.options);
|
||||
Blockly.registry.Type.CONNECTION_CHECKER, this.options, true);
|
||||
/**
|
||||
* An object that encapsulates logic for safety, type, and dragging checks.
|
||||
* @type {!Blockly.IConnectionChecker}
|
||||
|
||||
Reference in New Issue
Block a user