mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-04 18:03:41 +00:00
formatting
This commit is contained in:
@@ -4077,15 +4077,19 @@ var _CPViewGetTransform = function(/*CPView*/ fromView, /*CPView */ toView)
|
||||
|
||||
/* 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);
|
||||
}*/
|
||||
|
||||
Reference in New Issue
Block a user