Skip to content

Commit

Permalink
Sample updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro R. Varela authored Sep 6, 2018
1 parent 824c0af commit eb96757
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Example/Samples/SimpleTimeline.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,13 @@ -(void)tap:(UITapGestureRecognizer *)sender
if (self.timeline.playMode == kTimelinePlayModeLoop)
{
self.timeline.playMode = kTimelinePlayModePingPong;
self.circle.backgroundColor = [UIColor colorWithRed:255.0f/255.0f green:120.0f/255.0f blue:180.0f/255 alpha:1.0f];
}else
{
self.timeline.playMode = kTimelinePlayModeLoop;
self.timeline.reverse = false;
self.circle.backgroundColor = [UIColor colorWithRed:80.0f/255.0f green:220.0f/255.0f blue:170.0f/255 alpha:1.0f];

}
}

Expand Down

0 comments on commit eb96757

Please sign in to comment.