Mercurial > code > home > repos > light9
diff bin/keyboardcomposer @ 1877:d01e21621975
reformat
Ignore-this: 94923ca49bff97013722c14471a5134c
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Mon, 27 May 2019 07:41:09 +0000 |
parents | 8da5b4edcb7e |
children | cb8222319cb8 |
line wrap: on
line diff
--- a/bin/keyboardcomposer Mon May 27 07:03:27 2019 +0000 +++ b/bin/keyboardcomposer Mon May 27 07:41:09 2019 +0000 @@ -181,14 +181,19 @@ class KeyboardComposer(tk.Frame, SubClient): - def __init__(self, root: tk.Tk, graph: SyncedGraph, session: URIRef, hw_sliders=True): + def __init__(self, + root: tk.Tk, + graph: SyncedGraph, + session: URIRef, + hw_sliders=True): tk.Frame.__init__(self, root, bg='black') SubClient.__init__(self) self.graph = graph self.session = session self.subbox: Dict[URIRef, SubmasterBox] = {} # sub uri : SubmasterBox - self.slider_table: Dict[Tuple[int, int], SubmasterBox] = {} # coords : SubmasterBox + self.slider_table: Dict[Tuple[int, int], SubmasterBox] = { + } # coords : SubmasterBox self.rows: List[tk.Frame] = [] # this holds Tk Frames for each row self.current_row = 0 # should come from session graph