mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-05 04:05:34 +00:00
Return type was incorrect on "center"
This commit is contained in:
1 parent
ecaab49c08
commit
0e965f73b7
1 file changed
+1
-1
+1
-1
@@ -577,7 +577,7 @@ var DOMElementPrototype = nil,
|
||||
Returns the center of the receiver's frame to the provided point. The point is defined in the superview's coordinate system.
|
||||
@return CGPoint the center point of the receiver's frame
|
||||
*/
|
||||
- (void)center
|
||||
- (CGPoint)center
|
||||
{
|
||||
return CGPointMake(_frame.size.width / 2.0 + _frame.origin.x, _frame.size.height / 2.0 + _frame.origin.y);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user