Created
January 26, 2020 17:22
-
-
Save zsoltk/18aeb463fa50c2d04d35a3d4d1a6febc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private val rotation = FloatPropKey() | |
private val definition = transitionDefinition { | |
state(0) { this[rotation] = 0f } | |
state(1) { this[rotation] = 360f } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment