소스 검색

换装界面菜单切换点击优化

guodong 1 년 전
부모
커밋
b9eb7cdcb3
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

+ 3 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

@@ -342,9 +342,11 @@ namespace GFGGame
         }
         private void OnBtnActionClick(EventContext context)
         {
+            if (longPressed) return;
             // _isNormalSuitType = false;
             GObject gObject = context.sender as GObject;
-            int suitId = (int)gObject.data;
+            int suitId = (int)gObject.data; 
+            partsListScrollingPosY = _ui.m_partsList.m_list.scrollPane.scrollingPosY;
             ShowSuitPartList(suitId, true);
         }
         private void ShowSuitPartList(int suitId, bool showAction)