feat: Added ability to lock a tactical map object to screen - #3514
Merged
Conversation
alexanderson1993
approved these changes
Jun 30, 2026
Member
There was a problem hiding this comment.
I could have sworn there was a way to share logic between the server and the client. Alas.
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.
Description
Implemented the ability to lock an tactical map icon to the screen borders.
As a note, there was a duplicated file, as the logic needed to be shared across the server and the client, and the tsconfig wasn't playing nice with trying to reference files across that barrier. If needed I can go back and do some additional modifications to force that to work, but overall, it should be pretty straightforward.
Code changes include:
Adding some height and width fields, as well as a boolean field to signify that it should lock to screen.
Additional code changes are about checking that field, and making sure that the icon stays where it needs to.
Related Issue
#3513
Screenshots (if appropriate):
Map:

Original Map after I've thrustered / AWSD / JKLI everything off the map:

New Map with icons that have the lock to screen boolean added:

feature on the Thorium Docs
repo. (Include the issue or pull request url below.)