mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-17 04:00:42 +00:00
Fix: Remove _backgroundColor
This parameter exists on CPView, so it has been removed here. A note was added on the setter to identify that the parameter was defined in the superclass.
This commit is contained in:
1 parent
5ab48c6015
commit
5ef4c8e83e
1 file changed
+1
-2
@@ -129,8 +129,6 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder");
|
||||
|
||||
BOOL _drawsBackground;
|
||||
|
||||
CPColor _backgroundColor @accessors(property=backgroundColor);
|
||||
|
||||
CPString _placeholderString;
|
||||
CPString _stringValue;
|
||||
|
||||
@@ -520,6 +518,7 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder");
|
||||
*/
|
||||
- (void)setBackgroundColor:(CPColor)aColor
|
||||
{
|
||||
// _backgroundColor is defined on CPView.
|
||||
if (_backgroundColor == aColor)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user