Bugfix Paint UI interface stops hotbar scrollwheel
This change fixes the following use case:
If I press on the Paint Tool or Eyedropper tool on the Paint Toolbar When I close the schematics window by pressing the X button on the top right Then the scrollwheel will no longer function on the main UI until I re-open the Paint UI
Changelog:
- Add Hide() method call to close of Paint UI window
See the following message for more information on the bug: https://discord.com/channels/276235094622994433/556368872975106048/1253026389821493288
Thanks @direwolf420!
Going to make some changes to the commit. I am going to override the Hide() method of the PaintToolsUI class. I'll place the hotbar.close change I made to the new Hide() instead of placing it in the Close() method.
On further investigation, Hide() is not override-able. I will leave the commit as is. It's ready!
Thanks, I'll review this soon
Looks good, sorry it took a while to get to, will be live soon.