Skip to content

Commit 1f933f4

Browse files
committed
Fixes #64.
1 parent 86e5deb commit 1f933f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Ink/src/private/MDCInkLayer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static inline CGPoint MDCInkLayerRectGetCenter(CGRect rect) {
3131
}
3232

3333
static inline CGFloat MDCInkLayerRectHypotenuse(CGRect rect) {
34-
return hypot(CGRectGetWidth(rect), CGRectGetHeight(rect));
34+
return (CGFloat)hypot(CGRectGetWidth(rect), CGRectGetHeight(rect));
3535
}
3636

3737
static CGFloat const kMDCInkLayerBackgroundOpacityEnterDuration = 0.6f;

0 commit comments

Comments
 (0)