fix: 改进
This commit is contained in:
@@ -22,12 +22,14 @@ class MemScreen(Screen):
|
||||
("d", "toggle_dark", "改变色调"),
|
||||
("v", "play_voice", "朗读"),
|
||||
]
|
||||
|
||||
if config_var.get()["quick_pass"]:
|
||||
BINDINGS.append(("k", "quick_pass", "跳过"))
|
||||
|
||||
def __init__(self, atoms: list):
|
||||
super().__init__(name=None, id=None, classes=None)
|
||||
def __init__(self, atoms: list, name: str | None = None, id: str | None = None, classes: str | None = None) -> None:
|
||||
super().__init__(name, id, classes)
|
||||
self.atoms = atoms
|
||||
#print(atoms)
|
||||
self.phaser = Phaser(atoms)
|
||||
self.procession: Procession = self.phaser.current_procession() # type: ignore
|
||||
|
||||
|
||||
Reference in New Issue
Block a user