Skip to content

Conversation

@Ruzihm
Copy link
Contributor

@Ruzihm Ruzihm commented Jan 26, 2026

This PR fixes a math error in calculating the positionOffset for ProcessKeepTogether calling into DrawIcon where each one was based off their own position instead of the main icon.

Also, when rendering each set of keeptogethers, instead of just allocating a temp texture of the same size as the main icon, it uses one of the same size plus a border of 128 pixels for overlays which are larger than--or offset to an area outside of--the main icon. Future revisions could be smarter about this and actually calculate how much larger it needs to be, but this is a simple improvement.

Closes #1971

Issue #2500 is related but remains unfixed here. (although the cutoff problem shown there in the screenshot is alleviated)

@boring-cyborg boring-cyborg bot added the Client Involves the OpenDream client label Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client Involves the OpenDream client size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pixel offsets aren't rendered on overlays attached to a KEEP_TOGETHER atom

1 participant