From e79dcecb22590a61cb2d74f5de747816f574bc6c Mon Sep 17 00:00:00 2001 From: Tiara Tan Date: Wed, 3 Apr 2019 17:22:42 -0400 Subject: [PATCH] Rename WorkspaceSvg.getFlyout_ (#2357) --- core/workspace_svg.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/workspace_svg.js b/core/workspace_svg.js index 4ba93784f..74896cbac 100644 --- a/core/workspace_svg.js +++ b/core/workspace_svg.js @@ -685,7 +685,7 @@ Blockly.WorkspaceSvg.prototype.addFlyout_ = function(tagName) { * @return {Blockly.Flyout} The flyout on this workspace. * @package */ -Blockly.WorkspaceSvg.prototype.getFlyout_ = function() { +Blockly.WorkspaceSvg.prototype.getFlyout = function() { if (this.flyout_) { return this.flyout_; } @@ -925,8 +925,8 @@ Blockly.WorkspaceSvg.prototype.setVisible = function(isVisible) { // Tell the flyout whether its container is visible so it can // tell when to hide itself. - if (this.getFlyout_()) { - this.getFlyout_().setContainerVisible(isVisible); + if (this.getFlyout()) { + this.getFlyout().setContainerVisible(isVisible); } this.getParentSvg().style.display = isVisible ? 'block' : 'none';