From: SnickerSun Date: Sat, 5 Oct 2024 07:48:13 +0000 (+0800) Subject: 恢复拖动原始默认值10,让拖动更容易 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F1108%2F2;p=mirrors%2FFD230.git 恢复拖动原始默认值10,让拖动更容易 --- diff --git a/code/sdk/middleware/services/gui/uikit/utils/interfaces/innerkits/graphic_config.h b/code/sdk/middleware/services/gui/uikit/utils/interfaces/innerkits/graphic_config.h index d65713b08..fb8f9c910 100755 --- a/code/sdk/middleware/services/gui/uikit/utils/interfaces/innerkits/graphic_config.h +++ b/code/sdk/middleware/services/gui/uikit/utils/interfaces/innerkits/graphic_config.h @@ -629,7 +629,7 @@ static constexpr uint8_t WMS_MAIN_TASK_PERIOD = 16; static constexpr uint8_t IMG_CACHE_SIZE = 64; /* Maximum number of cached images. The default value is 64. */ static constexpr uint8_t INDEV_READ_PERIOD = 10; /* Input event read cycle. The default value is 10 ms. */ /* Drag distance threshold of a drag event. The default value is 10px. */ -static constexpr uint8_t INDEV_DRAG_LIMIT = 20; +static constexpr uint8_t INDEV_DRAG_LIMIT = 10;//20; 恢复原始默认值,让拖动更容易。 /* Maximum depth of view nesting. The default value is 64. */ static constexpr uint8_t COMPONENT_NESTING_DEPTH = 64; /* Long-press event threshold. The default value is 1000 ms. */