We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a Node set up like this using Macaw on iOS:
Node
let bar = Shape( form: Rect(x: Double(x), y: Double(y), w: Double(width), h: Double(height)), fill: point.color.macawColor )
To which I add a tap event handler:
bar.onTap { tapEvent in print("Tap") bar.fillVar.animation(to: UIColor.red.macawColor, during: 1, delay: 0).autoreversed().play() }
Expected: All taps prints "Tap" and animates the bar.
What happened: The first tap get registered, prints "Tap" and triggers an animation. However, consecutive taps to the same node are never registered.
If I remove the animation, consecutive taps will print "Tap" just fine.
The text was updated successfully, but these errors were encountered:
Thanks for reporting! We reproduced this issue and I think it will be fixed soon.
Sorry, something went wrong.
9c7ed8e
Fix of this issue available in the master branch and will be part of the 0.9.2 release.
ystrot
No branches or pull requests
I have a
Node
set up like this using Macaw on iOS:To which I add a tap event handler:
Expected:
All taps prints "Tap" and animates the bar.
What happened:
The first tap get registered, prints "Tap" and triggers an animation.
However, consecutive taps to the same node are never registered.
If I remove the animation, consecutive taps will print "Tap" just fine.
The text was updated successfully, but these errors were encountered: