mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Update song_select.py
This commit is contained in:
@@ -900,7 +900,7 @@ class FileNavigator:
|
|||||||
|
|
||||||
# Parse box.def if it exists
|
# Parse box.def if it exists
|
||||||
name = dir_path.name if dir_path.name else str(dir_path)
|
name = dir_path.name if dir_path.name else str(dir_path)
|
||||||
texture_index = 620
|
texture_index = 9
|
||||||
box_texture = None
|
box_texture = None
|
||||||
collection = None
|
collection = None
|
||||||
|
|
||||||
@@ -953,7 +953,7 @@ class FileNavigator:
|
|||||||
self.song_count += 1
|
self.song_count += 1
|
||||||
global_data.song_progress = self.song_count / global_data.total_songs
|
global_data.song_progress = self.song_count / global_data.total_songs
|
||||||
if song_obj.is_recent:
|
if song_obj.is_recent:
|
||||||
self.new_items.append(SongFile(tja_path, tja_path.name, 620, name_texture_index=texture_index))
|
self.new_items.append(SongFile(tja_path, tja_path.name, 9, name_texture_index=texture_index))
|
||||||
self.all_song_files[song_key] = song_obj
|
self.all_song_files[song_key] = song_obj
|
||||||
|
|
||||||
content_items.append(self.all_song_files[song_key])
|
content_items.append(self.all_song_files[song_key])
|
||||||
|
|||||||
Reference in New Issue
Block a user