You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
// Doesn't work at the bottom of the list but whatever as that would require calculating lots of viewport things because ImGui lacks API to manipulate viewport position within table.
441
+
auto it = std::ranges::find(selectedTable->entries.begin() + curEntryIdx + 1, selectedTable->entries.end(), hash, &Entry::md5);
442
+
if (it == selectedTable->entries.end()) {
443
+
it = std::ranges::find(selectedTable->entries.begin(), selectedTable->entries.begin() + curEntryIdx, hash, &Entry::md5);
444
+
}
445
+
if (it != selectedTable->entries.end()) {
446
+
auto idxToMoveTo = std::distance(selectedTable->entries.begin(), it);
447
+
tables_move_to_this_y = idxToMoveTo * lineSize;
448
+
}
449
+
}
429
450
430
451
if (ImGui::Button("Save")) {
431
452
if (item_selected_idx == 0) {
@@ -509,6 +530,7 @@ void TableManager::Menu() {
509
530
"To create a table, select 'NEW TABLE' at the top of table selector dropdown, specify its name and symbol, and press 'Save' button. If it succeeds, a new table will be available in the selector. Table won't be created if a table with same name already exists, or if the table folder with same name already exists in the output path.\n\n"
510
531
"No changes to the table are written to its files before you press the 'Save' button.\n\n"
511
532
"To add a song, hover over it in the LR2 song select wheel and press 'Add Song' button. It will appear in the list, and its level can be edited in the box right of its name. Song can be removed from the table with a double-click on its name.\n\n"
533
+
"'Find' button scrolls to the next closest entry for the currently selected song.\n\n"
512
534
"'Delete' button permanently deletes the table and its files. A confirmation is required after pressing it.\n\n"
513
535
"'Reload' button reloads the contents of the current output path, resetting any unsaved changes to the tables.\n\n"
514
536
"Table song list can be sorted by pressing the column header. If you want two-level sort, you can hold shift and click the second column header to sort against.\n\n"
Copy file name to clipboardExpand all lines: src/LR2HackBox/Features/Unrandomizer.cpp
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -376,9 +376,7 @@ void Unrandomizer::Menu() {
376
376
}
377
377
ImGui::SameLine();
378
378
HelpMarker("R-Random cyclically shifts the columns by a random amount, as well as has a chance to mirror them\n\nOnly this or random trainer can be enabled at a time");
0 commit comments