From e0a8fa3fdef6dc59ea77e0a8866f74912a44a7db Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sun, 22 Jun 2025 21:34:19 +0200 Subject: [PATCH] formatting --- AppKit/CPView.j | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index 22f4d0a22..1f5b949aa 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -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); }*/