File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 44
44
45
45
// http://www.google.com/design/spec/components/buttons.html#buttons-main-buttons
46
46
static const CGFloat MDCButtonDisabledAlpha = 0 .1f ;
47
+
48
+ // Blue 500 from http://www.google.com/design/spec/style/color.html#color-color-palette .
47
49
static const uint32_t MDCButtonDefaultBackgroundColor = 0x2196F3 ;
48
50
49
51
// Checks whether the provided floating point number is exactly zero.
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ - (instancetype)initWithView:(UIView *)view {
66
66
[_view addGestureRecognizer: _gestureRecognizer];
67
67
68
68
_defaultInkView = [[MDCInkView alloc ] initWithFrame: view.bounds];
69
- // _defaultInkView.inkColor = [UIColor colorWithWhite:224.0f / 255.0f alpha:0.25f];
69
+ _defaultInkView.inkColor = [UIColor colorWithWhite: 224 .0f / 255 .0f alpha: 0 .25f ];
70
70
_defaultInkView.autoresizingMask =
71
71
UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
72
72
}
You can’t perform that action at this time.
0 commit comments