making channel controls interactable
This commit is contained in:
@@ -10,9 +10,10 @@ class Sidebar(Vertical):
|
||||
Sidebar {
|
||||
dock: left;
|
||||
background: $surface;
|
||||
width: 40;
|
||||
width: 43;
|
||||
border-right: tall $surface-lighten-1;
|
||||
padding: 1;
|
||||
margin-top: 1;
|
||||
|
||||
#add-channel {
|
||||
min-width: 100%;
|
||||
@@ -23,8 +24,9 @@ class Sidebar(Vertical):
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
with VerticalScroll(id="channels"):
|
||||
for channel in self.app.project.channels:
|
||||
for i, channel in enumerate(self.app.project.channels):
|
||||
yield Channel(
|
||||
i,
|
||||
channel.name,
|
||||
channel.mute,
|
||||
channel.solo,
|
||||
|
||||
Reference in New Issue
Block a user