From bc9c8b523911091495b328f6c5f50b4992495948 Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Thu, 10 Oct 2024 21:57:52 +0800 Subject: [PATCH] =?utf8?q?=E6=9B=B4=E6=96=B0ui=5Flist?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../services/gui/uikit/ui/frameworks/components/ui_list.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_list.cpp b/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_list.cpp index 7cb9fef1d..157a802e5 100755 --- a/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_list.cpp +++ b/code/sdk/middleware/services/gui/uikit/ui/frameworks/components/ui_list.cpp @@ -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) -- 2.17.1