From 93f96a5a9205b02262f79f8711b449e231cc45ca Mon Sep 17 00:00:00 2001 From: Nathan Dinsmore Date: Wed, 14 May 2014 12:39:18 -0400 Subject: [PATCH] Fixed not being able to drop block when color picker was under mouse --- src/util/GestureHandler.as | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/GestureHandler.as b/src/util/GestureHandler.as index 5085351..fd2204b 100644 --- a/src/util/GestureHandler.as +++ b/src/util/GestureHandler.as @@ -88,6 +88,7 @@ public class GestureHandler { public function setDragClient(newClient:DragClient, evt:MouseEvent):void { Menu.removeMenusFrom(app.stage); + if (carriedObj) return; if (dragClient != null) dragClient.dragEnd(evt); dragClient = newClient as DragClient; dragClient.dragBegin(evt);