Removed obsolete widgetDiv check in tooltip code.

This commit is contained in:
Beka Westberg
2019-06-11 07:07:14 -07:00
parent 6d47853370
commit 2af17fd782

View File

@@ -211,9 +211,6 @@ Blockly.Tooltip.onMouseMove_ = function(e) {
if (!Blockly.Tooltip.element_ || !Blockly.Tooltip.element_.tooltip) {
// No tooltip here to show.
return;
} else if (Blockly.WidgetDiv.isVisible()) {
// Don't display a tooltip if a widget is open (tooltip would be under it).
return;
} else if (Blockly.Tooltip.blocked_) {
// Someone doesn't want us to show tooltips. We are probably handling a
// user gesture, such as a click or drag.