mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-01 00:13:37 +00:00
Fixed: CPDatePicker works with action and target
Previously the CPDatePicker didn't work with the action and target. Now each time the dateValue changed, the given action is sent to the target. This commit fix also a bug with moving with tab and the arrows. Before, the left arrow worked liked a tab when the firstElementTextField was selected in a textual CPDatePicker. Test app in Tests/Manual/CPDatePicker.
This commit is contained in:
@@ -710,7 +710,7 @@ var CPZeroKeyCode = 48,
|
||||
CGContextAddLineToPoint(context, [self bounds].size.width + bezelInset.left - borderWidth, borderWidth);
|
||||
CGContextAddLineToPoint(context, [self bounds].size.width + bezelInset.left - borderWidth, [self bounds].size.height - borderWidth);
|
||||
CGContextAddLineToPoint(context, borderWidth - bezelInset.left, [self bounds].size.height - borderWidth);
|
||||
CGContextAddLineToPoint(context, borderWidth-bezelInset.left, borderWidth);
|
||||
CGContextAddLineToPoint(context, borderWidth - bezelInset.left, borderWidth);
|
||||
|
||||
CGContextStrokePath(context);
|
||||
CGContextClosePath(context);
|
||||
|
||||
Reference in New Issue
Block a user