Only on left

This commit is contained in:
jpirnay
2026-03-23 21:28:21 +01:00
parent 5d8486ea07
commit eec42c0dd3
+1 -2
View File
@@ -58,8 +58,7 @@ void RecentBooksActivity::loop() {
// Left button: remove selected book from recent list // Left button: remove selected book from recent list
if (!recentBooks.empty() && selectorIndex < recentBooks.size() && if (!recentBooks.empty() && selectorIndex < recentBooks.size() &&
(mappedInput.wasReleased(MappedInputManager::Button::Left) || mappedInput.wasReleased(MappedInputManager::Button::Left)) {
mappedInput.wasReleased(MappedInputManager::Button::Up))) {
const std::string bookPath = recentBooks[selectorIndex].path; const std::string bookPath = recentBooks[selectorIndex].path;
const std::string bookTitle = recentBooks[selectorIndex].title; const std::string bookTitle = recentBooks[selectorIndex].title;