From 25ed815320a9ac4b790307df486341d9e1fd86ed Mon Sep 17 00:00:00 2001 From: picklesrus Date: Thu, 5 Jan 2017 15:39:06 -0800 Subject: [PATCH] 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) --- core/css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/css.js b/core/css.js index e6ad5b584..c8b69a3eb 100644 --- a/core/css.js +++ b/core/css.js @@ -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;',