zhaoyang 3 years ago
parent
commit
74059f413c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/DressUp/PhotographView.cs

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

@@ -305,7 +305,7 @@ namespace GFGGame
 
             if (!_equipDistance.ContainsKey(gameObject))
             {
-                float distance = Vector2.Distance(pt, pt2);/// gameObject.transform.localScale.x;
+                float distance = Vector2.Distance(pt, pt2) / gameObject.transform.localScale.x;
                 _equipDistance.Add(gameObject, distance);
             }
             _startDistance = _equipDistance[gameObject];