Popups, when their PopupButton is too low, can fall outside of the screen and render certain UI elements inaccessible. This PR clamps the position of popups so they stay on-screen.
Note that the position of the anchor is incorrect in this case. This is hard to fix as the entire popup's texture is baked in, but I hope to address it in a future PR.
Popups, when their PopupButton is too low, can fall outside of the screen and render certain UI elements inaccessible. This PR clamps the position of popups so they stay on-screen.
Note that the position of the anchor is incorrect in this case. This is hard to fix as the entire popup's texture is baked in, but I hope to address it in a future PR.