Skip to content

Conversation

@SirrWilliam
Copy link

#501

warning.mp4
  • The box height adjusts based on the translation length.
  • Clicking it triggers the action described in the tooltip (except for in-game restart)
  • Only visible in the server browser and in-game host window.
  • Currently, there's no check for DLCs, but I can implement it if necessary.

Extensions.cs changes:

  • I added a RemoveRichTextTags() method to Extensions.cs, because Text.CalcHeight() doesn't work properly with rich text, and it also causes unnecessary spacing, which can make the box taller than it needs to be.

@notfood notfood added enhancement New feature or request. 1.5 Fixes or bugs relating to 1.5 (Not Anomaly). labels Jul 20, 2025
@notfood
Copy link
Member

notfood commented Jul 20, 2025

Is this purely 1.5 or is there a working prepatcher for 1.6?

@SirrWilliam
Copy link
Author

It's for 1.6, but I think it might also work on 1.5. There is no Prepatcher for 1.6 yet. If the Prepatcher is still not available when the mod is ready for 1.6, we can disable the warning or we can just wait until Prepatcher is released for 1.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.5 Fixes or bugs relating to 1.5 (Not Anomaly). enhancement New feature or request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants