UI: Use rect intersection test for validating position
Instead of checking to see if the window's position is valid, check to see if the rectangles of the window and the monitor intersect via a rectangle intersection test.
Showing
想要评论请 注册 或 登录