Only on left
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user