修复血氧Slice滑动会移动的bug
authorCaisking <Casiking@zhihuishixun.com>
Sun, 28 Sep 2025 08:50:02 +0000 (16:50 +0800)
committerCaisking <Casiking@zhihuishixun.com>
Sun, 28 Sep 2025 08:50:02 +0000 (16:50 +0800)
code/sdk/application/wearable/n9/nativeapp/nativeui/bloodoxygen/src/BloodDetectionView.cpp
code/sdk/application/wearable/n9/nativeapp/nativeui/bloodoxygen/src/BloodResultView.cpp

index 93c2008..e649c65 100644 (file)
@@ -274,8 +274,8 @@ void BloodDetectionView::OnStart() {
     WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "scrollView_ new fail");
     return;
   }
-  scrollView_->SetScrollBlankSize(35);
-  scrollView_->SetReboundSize(50);
+  // scrollView_->SetScrollBlankSize(35);
+  // scrollView_->SetReboundSize(50);
   scrollView_->SetPosition(0, 0, Screen::GetInstance().GetWidth(),
                            Screen::GetInstance().GetHeight());
 
index e5d11d0..7de4fbe 100644 (file)
@@ -183,8 +183,8 @@ void BloodResultView::OnStart() {
     WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "scrollView_ new fail");
     return;
   }
-  scrollView_->SetScrollBlankSize(35);
-  scrollView_->SetReboundSize(50);
+  // scrollView_->SetScrollBlankSize(35);
+  // scrollView_->SetReboundSize(50);
   scrollView_->SetPosition(0, 0, Screen::GetInstance().GetWidth(),
                            Screen::GetInstance().GetHeight());