mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
* Set no-pointer events on the warning text svg element.
This commit is contained in:
committed by
Sam El-Husseini
parent
e5cb8e753e
commit
d99d913600
@@ -677,5 +677,9 @@ Blockly.Css.CONTENT = [
|
||||
'width: 0;',
|
||||
'height: 0;',
|
||||
'}',
|
||||
|
||||
'.blocklyNoPointerEvents {',
|
||||
'pointer-events: none;',
|
||||
'}',
|
||||
/* eslint-enable indent */
|
||||
];
|
||||
|
||||
@@ -92,7 +92,7 @@ Blockly.Warning.textToDom_ = function(text) {
|
||||
(Blockly.utils.dom.createSvgElement(
|
||||
'text',
|
||||
{
|
||||
'class': 'blocklyText blocklyBubbleText',
|
||||
'class': 'blocklyText blocklyBubbleText blocklyNoPointerEvents',
|
||||
'y': Blockly.Bubble.BORDER_WIDTH
|
||||
},
|
||||
null)
|
||||
|
||||
Reference in New Issue
Block a user