Skip to content

Commit

Permalink
Fix popup from lock icon (positioning)
Browse files Browse the repository at this point in the history
  • Loading branch information
mckenfra committed Mar 25, 2022
1 parent 8ceaa57 commit d99b11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PostgreSQL/Classes/PGPrefsPane.m
Original file line number Diff line number Diff line change
Expand Up @@ -744,10 +744,10 @@ - (CGRect)authorizationViewLockIconFrame
if (lockIcon.superview == self.authorizationView) {
return lockIcon.frame;
} else {
return [self.authorizationView convertRect:lockIcon.frame toView:lockIcon.superview];
return [lockIcon.superview convertRect:lockIcon.frame toView:self.authorizationView];
}
} else {
return self.authorizationView.frame;
return CGRectZero;
}
}

Expand Down

0 comments on commit d99b11b

Please sign in to comment.