opt gesture

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-23 11:46:16 +08:00
parent 310f497c30
commit bd158619a4
17 changed files with 407 additions and 396 deletions

View File

@@ -146,7 +146,8 @@ abstract final class SettingBoxKey {
downloadPath = 'downloadPath',
followOrderType = 'followOrderType',
enableImgMenu = 'enableImgMenu',
showDynDispute = 'showDynDispute';
showDynDispute = 'showDynDispute',
touchSlopH = 'touchSlopH';
static const String minimizeOnExit = 'minimizeOnExit',
windowSize = 'windowSize',

View File

@@ -947,4 +947,7 @@ abstract final class Pref {
static bool get showDynDispute =>
_setting.get(SettingBoxKey.showDynDispute, defaultValue: false);
static double get touchSlopH =>
_setting.get(SettingBoxKey.touchSlopH, defaultValue: 24.0);
}