mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-02 01:02:12 -04:00
Disable text selection on blocks and categories
This commit is contained in:
parent
48be561e7a
commit
c6558fa2d3
1 changed files with 1 additions and 1 deletions
|
@ -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;',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue