Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In addition to spacing changes, fixed a case where OldHeight would be overridden to an incorrect value if SetExpanded was called while the animation was going ( i.e. while the height of the panel was not what it should be for self.OldHeight purpose ) Added IsValid() checks for self.Contents, and fixed an animation bug when in spawnmenu opening the tool categories after first opening the spawnemenu with saved closed categories would make the animation expand to a wrong value. I still hate this panel very much, and none of these patches with #1007 and this one make it perfect.
- Loading branch information
1 parent
c3b672f
commit 893d84e
Showing
2 changed files
with
73 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
893d84e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was so many edge cases for this it was unbelievable. And even then it seems I didn't cover them all.
ULX menu was another of those edge cases.