mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-16 22:24:04 +08:00
improve horizontal touch slop
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -4,7 +4,7 @@ import 'dart:math' show max;
|
||||
import 'package:PiliPlus/common/widgets/custom_icon.dart';
|
||||
import 'package:PiliPlus/common/widgets/flutter/refresh_indicator.dart';
|
||||
import 'package:PiliPlus/common/widgets/gesture/horizontal_drag_gesture_recognizer.dart'
|
||||
show touchSlopH;
|
||||
show deviceTouchSlop, touchSlopH;
|
||||
import 'package:PiliPlus/common/widgets/image_grid/image_grid_view.dart'
|
||||
show ImageGridView, ImageModel;
|
||||
import 'package:PiliPlus/common/widgets/pendant_avatar.dart';
|
||||
@@ -236,7 +236,7 @@ List<SettingsModel> get extraSettings => [
|
||||
),
|
||||
NormalModel(
|
||||
title: '横向滑动阈值',
|
||||
getSubtitle: () => '当前:「${Pref.touchSlopH}」',
|
||||
getSubtitle: () => '当前:「${Pref.touchSlopH}」,系统默认值: $deviceTouchSlop',
|
||||
onTap: _showTouchSlopDialog,
|
||||
leading: const Icon(Icons.pan_tool_alt_outlined),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user