With the brush assets project, many paint tools are no longer specified by tool. To maintain functionality, this commit inspects the brush type instead of hardcoding against the paint tool to ensure that no matter which tool is being used, the UI displays correctly based on the brush. Pull Request: https://projects.blender.org/blender/blender/pulls/129654