Fixed not being able to drop block when color picker was under mouse

This commit is contained in:
Nathan Dinsmore 2014-05-14 12:39:18 -04:00
parent ab25a08ef4
commit 93f96a5a92

View file

@ -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);