disable fix. highlight fix.
This commit is contained in:
parent
c5e306f0ae
commit
81df953669
@ -54,7 +54,7 @@
|
||||
self.backgroundColor = [UIColor clearColor];
|
||||
self.contentMode = UIViewContentModeRedraw;
|
||||
[self setTitleColor:[UIColor mfTextButtonColor] forState:UIControlStateNormal];
|
||||
[self setTitleColor:[UIColor mfTextButtonColorHighlighted] forState:UIControlStateHighlighted];
|
||||
[self setTitleColor:[UIColor mfCharcoalColor] forState:UIControlStateHighlighted];
|
||||
// left alignment by default
|
||||
self.titleLabel.textAlignment = NSTextAlignmentLeft;
|
||||
self.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
|
||||
|
||||
@ -643,6 +643,7 @@
|
||||
self.primaryButtonType = PrimaryButtonTypeCustom;
|
||||
self.fillColor = [UIColor blackColor];
|
||||
self.textColor = [UIColor whiteColor];
|
||||
self.disabledTextColor = self.textColor;
|
||||
self.borderColor = nil;
|
||||
_bordered = false;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user