Repository navigation
[Vanilla Fix] Correct sidebar radar horizontal offset for both styles - #2458
Merged
DeathFishAtEase merged 11 commits intoOct 9, 2026
Merged
DeathFishAtEase merged 11 commits into
DeathFishAtEase merged 11 commits into
Conversation
Super-StarX
force-pushed
the
fix-sidebar-radar-offset
branch
4 times, most recently
from
October 7, 2026 13:06
262a6d9 to
7eeace5
Compare
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
Super-StarX
force-pushed
the
fix-sidebar-radar-offset
branch
from
October 7, 2026 13:23
7eeace5 to
9864982
Compare
Thrifinesma
approved these changes
Oct 7, 2026
Collaborator
Collaborator
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.




What kind of change is this?
Skip Changelog).Skip Changelog,Skip Docs).Skip Docs).Skip Changelog,Skip Docs,Skip Credits).Description
Vanilla initializes the sidebar radar X origin at
16. The visible aperture starts at13for the Allied/GDI sidebar and14for the Soviet/NOD sidebar, so the radar content, its input rectangle, and the view rectangle are offset by 3 and 2 pixels respectively.This PR corrects
RadarClass::RadarXafter the Allied and Soviet sidebar branches converge, using the existingisNODSidebarstate derived fromSidebar.GDIPositions. The fix is enabled by default and can be disabled with:The before/after comparison was captured on the map Super Big Trouble (超级大麻烦).
Before
After
Notes
scripts\\build_debug.batpasses.