Merge pull request #5096 from LLK/revert-5078-fix-duplicate-run

Revert "Fix duplicate running blocks by removing pointer-events: none"
This commit is contained in:
picklesrus authored and GitHub committed 2019-08-13 17:35:36 -04:00
commit 0d4808748d
1 file changed
+1 -6
+1 -6
View File
@@ -79,13 +79,8 @@
/*
Fix an issue where the drag surface was preventing hover events for sharing blocks.
This does not prevent user interaction on the blocks themselves.
This was previously pointer-events: none, but that allowed clicks to fall through
causing incorrect stack clicks on duplicate, and prevented the correct
cursor from showing when dragging over the toolbox to delete.
*/
width: 1px;
height: 1px;
overflow: visible;
pointer-events: none;
z-index: $z-index-drag-layer; /* make blocks match gui drag layer */
}