Skip to content

Parts of game rule tooltips that aren't queried still highlight matches #26

@Antikyth

Description

@Antikyth

This is because highlighting is applied to the tooltip after it has already been created (by vanilla, possibly edited by other mods). I can't think of a good way to solve this that doesn't break compatibility with any other mods with mixins into game rule tooltips (that's not to say there isn't a way, however, hence making this issue).

For example, the default text at the bottom of each game rule (e.g. Default: false) is highlighted for matches despite not affecting search. The description and technical name are also highlighted, even if the config options for matching them in search are disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions