mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
Make cursor stay as a closed hand when dragging blocks around in the drag surface. Do this by applying the same style to text elements in the drag surface that we do in the main svg. (#805)
This commit is contained in:
@@ -312,7 +312,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 {',
|
||||
'.blocklySvg text, .blocklyBlockDragSurface text {',
|
||||
'user-select: none;',
|
||||
'-moz-user-select: none;',
|
||||
'-webkit-user-select: none;',
|
||||
|
||||
Reference in New Issue
Block a user