We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c16179 commit 37bba9aCopy full SHA for 37bba9a
renderer/native/ios/renderer/component/view/HippyView.m
@@ -367,7 +367,8 @@ - (BOOL)getLayerContentForColor:(UIColor *)color completionBlock:(void (^)(UIIma
367
});
368
return NO;
369
} else if (self.gradientObject) {
370
- CGSize size = theFrame.size;
+ CGSize size = CGSizeMake(HippyRoundPixelValue(theFrame.size.width),
371
+ HippyRoundPixelValue(theFrame.size.height));
372
if (0 >= size.width || 0 >= size.height) {
373
contentBlock(nil);
374
return YES;
0 commit comments