恢复拖动原始默认值10,让拖动更容易 1108/2 1108/head
authorSnickerSun <snickersun@163.com>
Sat, 5 Oct 2024 07:48:13 +0000 (15:48 +0800)
committerSnickerSun <snickersun@163.com>
Sat, 5 Oct 2024 07:48:24 +0000 (15:48 +0800)
code/sdk/middleware/services/gui/uikit/utils/interfaces/innerkits/graphic_config.h

index d65713b..fb8f9c9 100755 (executable)
@@ -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 <b>64</b>. */
 static constexpr uint8_t INDEV_READ_PERIOD = 10; /* Input event read cycle. The default value is <b>10</b> ms. */
 /* Drag distance threshold of a drag event. The default value is <b>10px</b>. */
-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 <b>64</b>. */
 static constexpr uint8_t COMPONENT_NESTING_DEPTH = 64;
 /* Long-press event threshold. The default value is <b>1000</b> ms. */