Hi,
when showing the access point on macOS 11+ the
The size is right but the position is clearly off. Besides the origin stays 0 pts on the Y axis for a while and then changes to match the X axis at 5 pts.
I need pixels instead of points so at the beginning I thought it was a conversion issue and I took care to use the
May anyone advice or check if there's any issue in this property of the GKAccessPoint API for macOS?
when showing the access point on macOS 11+ the
Code Block frameInScreenCoordinates
property returns a NSRect which has a NSSize size of (52,52) pts and an NSPoint origin of (5,5) pts. The size is right but the position is clearly off. Besides the origin stays 0 pts on the Y axis for a while and then changes to match the X axis at 5 pts.
I need pixels instead of points so at the beginning I thought it was a conversion issue and I took care to use the
Code Block convertRectToScreen
on the Code Block parentWindow
in order to respect the high resolution guidelines of OSX. That returns me the same values in size and origin so it doesn't look to be a conversion issue.May anyone advice or check if there's any issue in this property of the GKAccessPoint API for macOS?