File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2348,8 +2348,8 @@ export class Query {
23482348 const results = this . map ( el => {
23492349 const $el = this . chain ( el ) ;
23502350 const elRect = $el . dimensions ( ) ;
2351- const $parent = $el . positioningParent ( ) ;
2352- const parentRect = $parent . dimensions ( ) ;
2351+ const $positioningParent = $el . positioningParent ( ) ;
2352+ const parentRect = $positioningParent . dimensions ( ) ;
23532353 const round = val => ( precision === 'pixel' ? Math . round ( val ) : val ) ;
23542354
23552355 // 1. Global (Viewport) Coordinates
@@ -2399,13 +2399,13 @@ export class Query {
23992399 $reference = this . chain ( window ) ;
24002400 }
24012401 else if ( type === 'local' ) {
2402- $reference = parent ;
2402+ $reference = $positioningParent ;
24032403 }
24042404 else if ( $relative ) {
24052405 $reference = $relative ;
24062406 }
24072407 else {
2408- $reference = $parent ;
2408+ $reference = $positioningParent ;
24092409 }
24102410 const referenceRect = $reference . dimensions ( ) ;
24112411
You can’t perform that action at this time.
0 commit comments