opt mouse control

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-28 15:33:09 +08:00
parent 2031604ea2
commit 5f8dc76891
19 changed files with 268 additions and 191 deletions

View File

@@ -223,10 +223,15 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: controller.onLogin,
onLongPress: () {
Feedback.forLongPress(context);
controller.onLogin(true);
},
onLongPress: Utils.isMobile
? () {
Feedback.forLongPress(context);
controller.onLogin(true);
}
: null,
onSecondaryTap: Utils.isMobile
? null
: () => controller.onLogin(true),
child: Row(
mainAxisSize: MainAxisSize.min,
children: [