fixing some bugs

This commit is contained in:
2026-01-15 11:11:07 +11:00
parent 6a96bdd86a
commit ceabed4665
5 changed files with 55 additions and 16 deletions

View File

@@ -127,9 +127,11 @@ class Timeline(Vertical):
with VerticalScroll(id="rows"):
for channel in self.app.project.channels:
with TimelineRow() as row:
row.styles.width = self.bar_offset * self.app.project.song_length
row.styles.width = self.bar_offset * self.app.project.song_length
for chunk in channel.chunks:
if chunk.chunk_type == ChunkType.CHUNK:
yield Chunk(chunk_name=chunk.name, bar_pos=chunk.position)
elif chunk.chunk_type == ChunkType.AUDIO: