Skip to content

Commit

Permalink
FIx scrolling bug in case total roms > roms to scrape
Browse files Browse the repository at this point in the history
  • Loading branch information
milouk committed Oct 3, 2024
1 parent f8c556f commit 1060b63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from pathlib import Path
from typing import List

from graphic import GUI
import input
from graphic import GUI
from PIL import Image
from scraper import (
check_destination,
Expand Down Expand Up @@ -424,7 +424,7 @@ def load_roms(self) -> None:
exit_menu = True
elif input.key_pressed("DY"):
if input.current_value == 1:
if roms_selected_position < len(roms_list) - 1:
if roms_selected_position < len(roms_to_scrape) - 1:
roms_selected_position += 1
elif input.current_value == -1:
if roms_selected_position > 0:
Expand Down

0 comments on commit 1060b63

Please sign in to comment.