fix: 改进

This commit is contained in:
2025-12-11 12:36:00 +08:00
parent a8ae1bacf3
commit 05a885a9d2
5 changed files with 32 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
from textual.reactive import reactive
from textual.widgets import (
Markdown,
Label,
@@ -84,4 +85,4 @@ class Recognition(BasePuzzleWidget):
def on_button_pressed(self, event: Button.Pressed) -> None:
if event.button.id == "ok":
self.post_message(self.RatingChanged(5))
self.post_message(self.RatingChanged(5))