Hello all! Anyone have a clever way of stopping a switch event from firing?
I have a layer that switches between states on a DragStart and DragEnd. The switch fires with no delay on DragStart and has a 3 second delay on DragEnd. If I drag again before the layer hides in 3 seconds, it essentially stacks and then it just flickers between the two states until it clears the "queue." I was digging in source and not sure if there was a better way other than hacking around with _previousStates and possibly just changing its _currentState to a previousState to avoid constant firing. Not sure if this would work however.
Also, on the same vein – if you set a delay on a switch, Events.StateDidSwitch fires before technically the animation begins, let alone ends. Intentional?