mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 00:52:58 +00:00
fixed: accidental removal of commented out code
This commit is contained in:
1 parent
c28a05e968
commit
64f4b0fc13
1 file changed
+19
@@ -4072,4 +4072,23 @@ var _CPViewGetTransform = function(/*CPView*/ fromView, /*CPView */ toView)
|
||||
CGAffineTransformConcatTo(transform, transform2, transform);
|
||||
|
||||
return transform;
|
||||
|
||||
|
||||
|
||||
/* var views = [],
|
||||
view = toView;
|
||||
while (view)
|
||||
{
|
||||
views.push(view);
|
||||
view = view._superview;
|
||||
}
|
||||
var index = views.length;
|
||||
while (index--)
|
||||
{
|
||||
var frame = views[index]._frame;
|
||||
transform.tx -= CGRectGetMinX(frame);
|
||||
transform.ty -= CGRectGetMinY(frame);
|
||||
}*/
|
||||
|
||||
return transform;
|
||||
};
|
||||
Reference in new issue
Block a user