From 907059be00a3ffa7461b10d387547709cf59022d Mon Sep 17 00:00:00 2001 From: picklesrus <picklesrus@users.noreply.github.com> Date: Tue, 13 Aug 2019 17:34:02 -0400 Subject: [PATCH] Revert "Fix duplicate running blocks by removing pointer-events: none" --- src/components/blocks/blocks.css | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/blocks/blocks.css b/src/components/blocks/blocks.css index 0299a472b..583f587f7 100644 --- a/src/components/blocks/blocks.css +++ b/src/components/blocks/blocks.css @@ -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 */ } -- GitLab