Skip to content
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

Closed
SinisterStairs opened this issue Aug 15, 2015 · 3 comments · Fixed by #724
Closed

The world display window doesn't scale correctly #651

SinisterStairs opened this issue Aug 15, 2015 · 3 comments · Fixed by #724

Comments

@SinisterStairs
Copy link
Contributor

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.

screenshot 2015-08-15 08 38 47

@SinisterStairs
Copy link
Contributor Author

To reproduce:

  1. Launch TEdit and open a world
  2. Manually resize the TEdit app window to make it smaller, and the world will no longer fully fill its display/edit window

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.

@enigmaquip
Copy link
Contributor

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

@SinisterStairs
Copy link
Contributor Author

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.

BinaryConstruct added a commit that referenced this issue Jan 20, 2016
Fix #651 - Reset XNA graphics device to new viewport paramters on resize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants