fix: 改进
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user