zhaoyang 2 years ago
parent
commit
607bbe5631
1 changed files with 4 additions and 4 deletions
  1. 4 4
      GameClient/Assets/Game/HotUpdate/Views/Guide/GuideView.cs

+ 4 - 4
GameClient/Assets/Game/HotUpdate/Views/Guide/GuideView.cs

@@ -161,7 +161,7 @@ namespace GFGGame
                     Timers.inst.Remove(UpdateGuideRect);
                     _ui.m_comHolder.target.xy = _ui.m_mask.m_guideArea.xy;
 
-                    if (pos.x > GRoot.inst.width / 2)
+                    if (logicScreenPos.x > GRoot.inst.width / 2)
                     {
                         _ui.m_comHolder.m_c1.selectedIndex = 0;//手在左边
                     }
@@ -174,13 +174,13 @@ namespace GFGGame
 
 
                     int padding = 200;
-                    if (pos.y < GRoot.inst.height - 700)
+                    if (logicScreenPos.y < GRoot.inst.height - 700)
                     {
-                        _ui.m_compTxt.target.y = pos.y + padding;
+                        _ui.m_compTxt.target.y = logicScreenPos.y + padding;
                     }
                     else
                     {
-                        _ui.m_compTxt.target.y = pos.y - padding - _ui.m_compTxt.target.height;
+                        _ui.m_compTxt.target.y = logicScreenPos.y - padding - _ui.m_compTxt.target.height;
                     }
                     if (compTxtY > 0)
                     {