fix: video toolbar

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-26 20:23:26 +08:00
parent 94f05127b6
commit fb11208bbe
2 changed files with 33 additions and 10 deletions

View File

@@ -129,6 +129,7 @@ class VideoDetailController extends GetxController
late final scrollKey = GlobalKey<ExtendedNestedScrollViewState>();
late final RxString direction = 'horizontal'.obs;
late final RxDouble scrollRatio = 0.0.obs;
bool imageStatus = false;
@@ -2027,6 +2028,10 @@ class VideoDetailController extends GetxController
videoUrl = null;
audioUrl = null;
if (Get.currentRoute.startsWith('/videoV') && scrollRatio.value != 0) {
scrollRatio.refresh();
}
// danmaku
dmTrend = null;
savedDanmaku = null;