feat(interface): 完成队列式记忆模块更新

This commit is contained in:
2026-01-06 20:32:27 +08:00
parent 85f9e84da4
commit 1398368e18
6 changed files with 32 additions and 15 deletions

View File

@@ -107,13 +107,3 @@ class Recognition(BasePuzzleWidget):
if event.button.id == "ok":
self.screen.rating = 5 # type: ignore
self.handler(5)
def handler(self, rating):
if not self.atom.registry["runtime"]["locked"]:
if not self.atom.registry["electron"].is_activated():
self.atom.registry["electron"].activate()
logger.debug(f"激活原子 {self.atom}")
self.atom.lock(1)
self.atom.minimize(5)
else:
pass