skiselkov / BetterPushbackC

This is the BetterPushback plugin for X-Plane 11 and X-Plane 12
Other
496 stars 146 forks source link

Use XPLMGetScreenBoundsGlobal instead of XPLMGetScreenSize for button coordinates #501

Open telephono opened 3 months ago

telephono commented 3 months ago

When X-Plane User Interface scaling is set to 150% or 200%, BetterPushback doesn't show the Disconnect Tow + Headset and switch to hand signals buttons or any buttons in the pushback planner window.

Using XPLMGetScreenBoundsGlobal instead of XPLMGetScreenSize for button coordinates fixes this behaviour for any UI scaling.

But I'm unable to test the changes on a multi-display setup.