Skip to content

Commit

Permalink
Scroll to top of options
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaPiggy committed Aug 12, 2024
1 parent 195eb2b commit ee07854
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Winch/Components/ModsTab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ public void OnWinchClicked()
footerText.LabelString = footerOptions;
footerButton.gameObject.Activate();
AddWinchOptions();
ScrollToTop();
}

public void AddWinchOptions()
Expand Down Expand Up @@ -247,6 +248,7 @@ public void OnModClicked(ModAssembly mod)
footerText.LabelString = footerOptions;
footerButton.gameObject.Activate();
AddOptions(mod);
ScrollToTop();
}

public void AddOptions(ModAssembly mod)
Expand Down

0 comments on commit ee07854

Please sign in to comment.