Skip to content

Commit

Permalink
1.9.1 GMCM
Browse files Browse the repository at this point in the history
  • Loading branch information
spacechase0 committed May 15, 2022
1 parent 8682899 commit b8ab4c5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GenericModConfigMenu/Framework/ModConfigMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public override void draw(SpriteBatch b)
{
foreach (var label in this.LabelsWithTooltips)
{
if (!label.Hover)
if (!label.Hover || label.UserData == null)
continue;
string text = (string)label.UserData;
if (text != null && !text.Contains("\n"))
Expand Down
9 changes: 8 additions & 1 deletion GenericModConfigMenu/docs/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
[← back to readme](README.md)

# Release notes
## Upcoming release
# 1.9.1
* Fix crash when hovering over mod with null tooltip.

## 1.9.0
* Added keybindings menu (icon thanks to mistyspring!).
* Added description tooltip for mods on mod list menu.

## 1.8.2
* The mod list now remembers your scroll position when returning from a config view (thanks to Pathoschild!).
* Complex Options can now have Height that changes, rather than being fixed when the menu opens (thanks to jltaylor-us).

Expand Down
2 changes: 1 addition & 1 deletion GenericModConfigMenu/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Name": "Generic Mod Config Menu",
"Author": "spacechase0",
"Version": "1.9.0",
"Version": "1.9.1",
"MinimumApiVersion": "3.13.0",
"Description": "Adds an in-game UI to edit other mods' config options (for mods which support it).",
"UniqueID": "spacechase0.GenericModConfigMenu",
Expand Down

0 comments on commit b8ab4c5

Please sign in to comment.