tyfon7 / UIFixes

Small QOL fixes for SPTarkov
MIT License
8 stars 1 forks source link

Request: Tags on panel name hide #20

Closed reysonk closed 1 month ago

reysonk commented 1 month ago

Please add a setting that will hide everything that is written in the tags at the top of the container:)

изображение

tyfon7 commented 1 month ago

I assume those tags are from some mod that's the using the tag to store information about the container? I have no way of knowing what comes from a mod and what was entered by the user.

I suggest asking that mod author to store their data in some other way.

reysonk commented 1 month ago

No, you misunderstood!

I'm basically asking for an option that hides any TAGS in the head of the container...

изображение

tyfon7 commented 1 month ago

I see... But that's kind of the point of tags? I believe that you want to get rid of it, but it's not really a fix; I'm not doing arbitrary customizations

reysonk commented 1 month ago

For a story not to forget GridWindowButtonsPatch.cs

            if (wrappedInstance.LootItem.Int32_0 <= 4)  //hide IoF key and TAG
            {
                Transform SortButton = __instance.transform.Find("Caption Panel/Sort Button(Clone)");
                SortButton.gameObject.SetActive(false);

                Transform TagPanel = __instance.transform.Find("Caption Panel/TagText");
                TagPanel.gameObject.SetActive(false);
            }