New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The world display window doesn't scale correctly #651
Comments
To reproduce:
Note that 1a. You can increase the TEdit window and the world will fill accordingly: Tt's when you decrease the TEdit window that this behavior occurs. From that point on, increasing/decreasing TEdit will exhibit the behavior shown above, but Windows' Maximize temporarily resolves it. |
I too have seen this problem, you'll notice too when you are using a tool that it will no longer match up properly with the tile the mouse is over |
Thank you for adding that -- that's the most critical part of this issue, that the tool cursor no longer matches the tile/position that's being selected. |
Fix #651 - Reset XNA graphics device to new viewport paramters on resize
When you resize TEdit to a smaller size, the world display/edit window does not scale properly. You can see in the screenshot that the world doesn't fully fill its window. Even if I resize back to the original app size, it doesn't fully scale (but Windows' Maximize does). This behavior is on the master branch, Windows 7 x64.
The text was updated successfully, but these errors were encountered: