mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-02 16:49:05 +00:00
Fix short release notes not showing
First it's long ones now it's short ones lol
This commit is contained in:
@@ -116,7 +116,7 @@ void StoreUtils::ReleaseNotesLogic(int &scrollIndex, int &storeMode) {
|
||||
/* Ensure it doesn't scroll off screen. */
|
||||
if (scrollIndex < 0) scrollIndex = 0;
|
||||
if (scrollIndex > (int)wrappedNotes.size() - linesPerScreen)
|
||||
scrollIndex = wrappedNotes.size() - linesPerScreen;
|
||||
scrollIndex = std::max(0, (int)wrappedNotes.size() - linesPerScreen);
|
||||
|
||||
if (hDown & KEY_B) {
|
||||
scrollIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user