Repository navigation
Zoom the battlefield and scale the interface - #176
Open
equalchance wants to merge 14 commits into
Open
equalchance wants to merge 14 commits into
equalchance wants to merge 14 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The mouse wheel over the battlefield zooms it in whole steps from 1x to 4x, as far as the game resolution allows. The point under the pointer stays in place, and the sidebar, tab strip and messages keep their size. Over the sidebar and the tab strip the wheel still scrolls the sidebar.
At high resolutions the sidebar, tab strip, messages and in-game dialogs are drawn larger.
[Video] UIScalesets the size, and Options > Display has it as a slider limited to what the selected resolution fits. The automatic size is 3x from 2160 rows and 1x below, so 1080p and 1440p look as before. A mission or a loaded game starts zoomed to the interface size.TacticalRectis the smaller rendered view; the newBattlefieldRectis its area on screen, which the sidebar, radar button, tab timer, tooltips and messages are laid out from. At 1x the two are the same.ZoomIntrigger action returns to 1x first.Intentionally changed: the wheel over the battlefield used to scroll the sidebar.