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.
2 parents 86e5deb + 1f933f4 commit b15d169Copy full SHA for b15d169
components/Ink/src/private/MDCInkLayer.m
@@ -31,7 +31,7 @@ static inline CGPoint MDCInkLayerRectGetCenter(CGRect rect) {
31
}
32
33
static inline CGFloat MDCInkLayerRectHypotenuse(CGRect rect) {
34
- return hypot(CGRectGetWidth(rect), CGRectGetHeight(rect));
+ return (CGFloat)hypot(CGRectGetWidth(rect), CGRectGetHeight(rect));
35
36
37
static CGFloat const kMDCInkLayerBackgroundOpacityEnterDuration = 0.6f;
0 commit comments