working on openning and closing files
This commit is contained in:
@@ -26,6 +26,10 @@ class TimelineRow(Horizontal):
|
||||
}
|
||||
}
|
||||
"""
|
||||
|
||||
def __init__(self, project_channel):
|
||||
super().__init__()
|
||||
self.project_channel = project_channel
|
||||
|
||||
class Timeline(Vertical):
|
||||
DEFAULT_CSS = """
|
||||
@@ -126,7 +130,7 @@ class Timeline(Vertical):
|
||||
|
||||
with VerticalScroll(id="rows"):
|
||||
for channel in self.app.project.channels:
|
||||
with TimelineRow() as row:
|
||||
with TimelineRow(channel) as row:
|
||||
|
||||
row.styles.width = self.bar_offset * self.app.project.song_length
|
||||
|
||||
|
||||
Reference in New Issue
Block a user