Revert "Fix duplicate running blocks by removing pointer-events: none"

This commit is contained in:
picklesrus authored and GitHub committed 2019-08-13 17:34:02 -04:00
1 parent 7ffe6d650f
commit 907059be00
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 */
}