mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: reply2reply: jump to target
This commit is contained in:
@@ -113,9 +113,9 @@ class VideoReplyReplyController extends CommonController
|
|||||||
).animate(controller!);
|
).animate(controller!);
|
||||||
() async {
|
() async {
|
||||||
await Future.delayed(const Duration(milliseconds: 200));
|
await Future.delayed(const Duration(milliseconds: 200));
|
||||||
await itemScrollCtr.scrollTo(
|
itemScrollCtr.jumpTo(
|
||||||
index: hasRoot ? index! + 3 : index! + 1,
|
index: hasRoot ? index! + 3 : index! + 1, alignment: 0.25,
|
||||||
duration: const Duration(milliseconds: 200),
|
// duration: const Duration(milliseconds: 200),
|
||||||
);
|
);
|
||||||
await Future.delayed(const Duration(milliseconds: 800));
|
await Future.delayed(const Duration(milliseconds: 800));
|
||||||
await controller?.forward();
|
await controller?.forward();
|
||||||
|
|||||||
Reference in New Issue
Block a user