Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-31 13:10:09 +08:00
parent dbc7bcd0dd
commit 8964197b73
68 changed files with 560 additions and 293 deletions

View File

@@ -46,7 +46,7 @@ class _PgcReviewPostPanelState extends State<PgcReviewPostPanel> {
}
void _onScore(double dx) {
int index = (dx / 50).toInt().clamp(0, 4);
int index = (dx ~/ 50).clamp(0, 4);
_enablePost.value = true;
_score.value = index + 1;
}