mirror of
https://github.com/google/blockly.git
synced 2026-01-11 10:57:07 +01:00
Removed obsolete widgetDiv check in tooltip code.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user