更新ui_list 1145/3
authorSnickerSun <snickersun@163.com>
Thu, 10 Oct 2024 13:57:52 +0000 (21:57 +0800)
committerSnickerSun <snickersun@163.com>
Thu, 10 Oct 2024 13:57:52 +0000 (21:57 +0800)
code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_list.cpp

index 7cb9fef..157a802 100755 (executable)
@@ -383,12 +383,6 @@ bool UIList::DragYInner(int16_t distance)
             if (childrenTail_->GetRelativeRect().GetBottom() <
                 (listHeight - scrollBlankSize_ - reboundSize - childrenTail_->GetStyle(STYLE_MARGIN_BOTTOM))) {
                 distance = 0;
-            } else if ((childrenTail_->GetRelativeRect().GetBottom() + distance) <
-                (listHeight - scrollBlankSize_ - reboundSize - childrenTail_->GetStyle(STYLE_MARGIN_BOTTOM))) {
-                distance = 0;
-            } else if ((childrenTail_->GetRelativeRect().GetBottom() + distance) <
-                (listHeight - scrollBlankSize_ - reboundSize - childrenTail_->GetStyle(STYLE_MARGIN_BOTTOM))) {
-                distance = 0;
             } else if ((childrenTail_->GetRelativeRect().GetBottom() + distance) <
                 (listHeight - scrollBlankSize_ - reboundSize - childrenTail_->GetStyle(STYLE_MARGIN_BOTTOM))) {
                 distance = listHeight - scrollBlankSize_ - reboundSize - childrenTail_->GetStyle(STYLE_MARGIN_BOTTOM)