Disable text selection on blocks and categories

This commit is contained in:
Paul Kaplan 2017-07-17 08:10:04 -04:00
parent 48be561e7a
commit c6558fa2d3

View file

@ -501,7 +501,7 @@ Blockly.Css.CONTENT = [
Don't allow users to select text. It gets annoying when trying to
drag a block and selected text moves instead.
*/
'.blocklySvg text, .blocklyBlockDragSurface text {',
'.blocklySvg text, .blocklyBlockDragSurface text, .blocklyFlyout text, .blocklyToolboxDiv text {',
'user-select: none;',
'-moz-user-select: none;',
'-webkit-user-select: none;',