Browse Source

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

guodong 1 year ago
parent
commit
b9eb7cdcb3
1 changed files with 3 additions and 1 deletions
  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)