We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca8fcdf commit 1adfb00Copy full SHA for 1adfb00
AsyncDisplayKit/Private/ASDefaultPlaybackButton.m
@@ -51,7 +51,7 @@ - (void)setButtonType:(ASDefaultPlaybackButtonType)buttonType
51
52
+ (void)drawRect:(CGRect)bounds withParameters:(id<NSObject>)parameters isCancelled:(asdisplaynode_iscancelled_block_t)isCancelledBlock isRasterizing:(BOOL)isRasterizing
53
{
54
- ASDefaultPlaybackButtonType buttonType = [parameters[@"buttonType"] intValue];
+ ASDefaultPlaybackButtonType buttonType = (ASDefaultPlaybackButtonType)[parameters[@"buttonType"] intValue];
55
UIColor *color = parameters[@"color"];
56
57
CGContextRef context = UIGraphicsGetCurrentContext();
0 commit comments