mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-04 08:06:16 +00:00
Fixed bug about the cancel button in CPSearchField (changed the type of the button to CPMomentaryChangeButton)
This commit is contained in:
@@ -189,6 +189,7 @@ var RECENT_SEARCH_PREFIX = @" ";
|
||||
[_cancelButton setAutoresizingMask:CPViewMinXMargin];
|
||||
[_cancelButton setTarget:self];
|
||||
[_cancelButton setAction:@selector(cancelOperation:)];
|
||||
[_cancelButton setButtonType:CPMomentaryChangeButton];
|
||||
[self _updateCancelButtonVisibility];
|
||||
[self addSubview:_cancelButton];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user