Created
May 17, 2017 19:59
-
-
Save matthieu-D/6b1931cf92a28cf60f26bf3b5179b41f to your computer and use it in GitHub Desktop.
This file contains 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
isAnyAnimationRunning(marker) { | |
if ((marker.animationGroupSelected === null) || (marker.animationGroupIdle === null)) { | |
return false; | |
} else { | |
if ((marker.animationGroupSelected.isRunning() === true) || (marker.animationGroupIdle.isRunning() === true)) { | |
return true; | |
} else { | |
return false; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment