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.
Summary
Interface "Construction menu filter resets on close"
Purpose of change
When you have a filter in the crafting menu it resets on close. When you have a filter in the construction menu it is maintained and the user has to backspace their filter. This is a UI inconsistency that messes with muscle memory.
Describe the solution
I only added 1 line so that the filter is reset when the UI menu is instanced.
Describe alternatives you've considered
An alternative would be to maintain this behavior in the crafting menu along with the ability to press the 'del' key to backspace all of the characters at once.
Testing
In the game I loaded in, opened the construction menu, and it resets the filter on open as expected.