Differentiating between a click and ending a drag: It looks like Events.Click is just a "mouseup" event. This triggers a click even when i just drag a layer around and stop. Is there a way to not trigger the Events.Click event after a drag?
Alternatively, is there a way to have a parent layer prevent clicks to it's child views? I basically have a draggable panel with 4 buttons in it. If i drag the panel around and mouse up it will click whatever button is under your finger.
Yeah... I just have the layer do nothing on click myLayer.on Event Click, (event) ->
So i ended up setting layer.ignoreEvents while dragging. The problem was that the drag end event is "dragend" not "mouseup"