mirror of
https://github.com/google/blockly.git
synced 2026-01-11 19:07:08 +01:00
Make bumpNeighbours public. (#3156)
This commit is contained in:
@@ -539,7 +539,6 @@ Blockly.Block.prototype.lastConnectionInStack = function() {
|
||||
/**
|
||||
* Bump unconnected blocks out of alignment. Two blocks which aren't actually
|
||||
* connected should not coincidentally line up on screen.
|
||||
* @package
|
||||
*/
|
||||
Blockly.Block.prototype.bumpNeighbours = function() {
|
||||
console.warn('Not expected to reach Block.bumpNeighbours function. ' +
|
||||
|
||||
@@ -1566,7 +1566,6 @@ Blockly.BlockSvg.prototype.makeConnection_ = function(type) {
|
||||
/**
|
||||
* Bump unconnected blocks out of alignment. Two blocks which aren't actually
|
||||
* connected should not coincidentally line up on screen.
|
||||
* @package
|
||||
*/
|
||||
Blockly.BlockSvg.prototype.bumpNeighbours = function() {
|
||||
if (!this.workspace) {
|
||||
|
||||
Reference in New Issue
Block a user