fix(interface): 修复按钮标识和一个哈希问题
This commit is contained in:
@@ -70,6 +70,7 @@ class MemScreen(Screen):
|
||||
"""更新状态机"""
|
||||
self.procession: Procession = self.phaser.current_procession() # type: ignore
|
||||
self.atom: pt.Atom = self.procession.current_atom # type: ignore
|
||||
|
||||
|
||||
def on_mount(self):
|
||||
self.fission = self.procession.get_fission()
|
||||
@@ -176,6 +177,7 @@ class MemScreen(Screen):
|
||||
self.forward(new_rating)
|
||||
self.rating = -1
|
||||
|
||||
|
||||
def forward(self, rating):
|
||||
self.update_state()
|
||||
allow_forward = 1 if rating >= 4 else 0
|
||||
|
||||
Reference in New Issue
Block a user