RetroAchievements / RAIntegration

The DLL responsible to integrate emulators with RetroAchievements.org
https://retroachievements.org
MIT License
98 stars 22 forks source link

fix centered popup not displaying if wider than window #806

Closed Jamiras closed 3 years ago

Jamiras commented 3 years ago

When using the Top Center or Bottom Center popup positions, if the popup ended up being wider than the display area of the screen, the calculated position for it was a very high positive number, instead of a slightly negative number, so the popup would not render as expected.