fixing some bugs
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user