-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump to 2.1.0, fixes for UI changes for main menu, better handling of…
… missing custom songs causing index errors
- Loading branch information
1 parent
6b1b56e
commit a2b030d
Showing
13 changed files
with
378 additions
and
105 deletions.
There are no files selected for viewing
Submodule SRModCore
updated
2 files
+1 −1 | SRModCore/Properties/AssemblyInfo.cs | |
+5 −5 | SRModCore/SRModCore.csproj |
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
16 changes: 16 additions & 0 deletions
16
SRPlaylistManager/Harmony/Patch_SongSelectionManager_PlayPreviewAudio.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using HarmonyLib; | ||
using Il2CppSynth.SongSelection; | ||
using Il2CppUtil.Controller; | ||
|
||
namespace SRPlaylistManager.Harmony | ||
{ | ||
[HarmonyPatch(typeof(SongSelectionManager), nameof(SongSelectionManager.PlayPreviewAudio))] | ||
public class Patch_SongSelectionManager_PlayPreviewAudio | ||
{ | ||
public static void Prefix() | ||
{ | ||
// Force some UI refreshing on first load. This was the first hook I could make work. | ||
PlaylistManagementController.GetInstance.TryDisplayCorrectRemoveFavoriteButton(); | ||
} | ||
} | ||
} |
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
Oops, something went wrong.